Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 15-02-2006, 11:38 PM   #15
Kon-Tiki
[BANNED]

 
Join Date: Sep 2004
Location: Dentergem, Belgium
Posts: 1,811
Default

Ok, got another set of questions.

1) I have a stretchy contents div with a 1px wide background (which repeats when stretched). At the left of it is a menu div. What I want it to do, is stretch to the size of the menu div if the contents in the contents div isn't long enough to automatically stretch as much. Otherwise, the menu'll run over and past the footer, and it looks behind-ugly.

I got this working under IE, but Firefox seems to add a few white lines between the menu/contents and the footer. This's my CSS for it:

Code:
div.header {
 *background-image:url('img/header.png');
 *width: 1024px;
 *height: 343px;
}


div.menu {
 *position: static;
 *background: url('img/kwmainbar.png');
 *top: 343px;
 *left: 8px;
 *width: 1013px;
}

div.contents {
 *position: static;
 *background: url('img/kwmainbar.png');
 *left: 8px;
 *top: 343px;
 *width: 1013px;
 *padding-left: 133px;
 *padding-right: 133px; *
 *text-align: justify;
}

div.footer {
 *width: 1016px;
 *height: 147px;
 *background-image:url('img/footer.png');
}
2) My menu uses input type="image" buttons, and parsing them's no problem... under Firefox. Why doesn't IE get a value through from them? It's a bit of an oddity, as the code works perfectly fine under Firefox.
Kon-Tiki is offline                         Send a private message to Kon-Tiki
Reply With Quote
 


Similar Threads
Thread Thread Starter Forum Replies Last Post
Html Calendar Nick Programming 2 15-10-2006 07:54 AM
More Html Help Bobbin Threadbare Tech Corner 29 14-03-2006 02:33 PM
Html Scroll To: Bobbin Threadbare Tech Corner 2 28-02-2006 05:48 AM
Java/html - Two Questions ... swiss Programming 12 12-02-2006 10:57 AM
Html Problem punch999 Programming 6 16-12-2005 09:07 PM


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 04:02 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.