This is a discussion on Javascript Menu Help (again...)? within the Coding Help forums, part of the Webmaster Help category; heh, the menu has already been fixed (yay me)...
| |||||||
| Register | Forum Rules | FAQ | Donate | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||||
| heh, the menu has already been fixed (yay me) |
| |||||
| you don't need to use negative values in you css. just create a new css file from scratch. Code: <div id="main" style="width:800px;"> <div id="top">top text <br /> </div> <div id="left" style="float:left;width:20%;">links<br />links</div> <div id="content" style="float:left; width:78%;">some text</div> <div id="bottom" style="clear:both;">footer text</div> </div> replace the main1 style with this: #main1 { background-image: url('../images/bg_main1.gif'); background-position: top left;background-repeat: repeat-y;height: 300px;margin: 0px;text-align: left; } why do you need a fix height? also why did you put the padding there? padding: 10px 35px 10px 200px;
__________________ :. Web Design & Development Web Design Ireland :. Search Engines Optimization Search Engines Optimization :. Directory Submission Directory Submission :. News & Press Release Ireland GiveItSocks.com :. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories :. I Have 2 Find It Directory SEF Directory Last edited by louie; 24-04-2006 at 07:54 PM. |
| |||||
| I should point out that buttermilkjack is developing on a Mac |
| |||||
| Hey louie, thanks for that. I had the padding there because I needed the 'nav1' floating div to sit inside the 'main1' flush with the Name and Tagline above. If I remove the padding completely the div sits right out over the background shadow. Obviously 200px was way too much, so I adjusted it to just 25px left and right and put a 25px margin-right on the div itself. All seems ok now! Can you check IE6 for me. I downloaded IE7 and I can't get a copy of IE6 to run anymore. Cheers |
| |||||
| Quote:
|
| |||||
| it looks ok on both IE and firefox |
| |||||
| Yep, cheers louie. All looks good on the Mac too (well, except for IE 5.2 but I doubt anyone uses that anymore!). Although it wouldn't take too much to throw in a link to a seperate stylesheet for that browser... |
| |||||
| I don't have a computer running that browser so I can not really do anything. As you said I doubt anybody using it. |
| Tags |
| javascript, menu |
| Thread Tools | |
| Display Modes | |
|
|
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Javascript/CSS menu help? | ButtermilkJack | Coding Help | 4 | 16-04-2006 05:59 PM |
| ||||||||
| | ![]() | |||||||