|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Cross Browser CSS question
Im not a newbie to CSS but I am still a bit new to hand coding and div positioning.
heres the link - http://members.cox.net/tekjock/test/ the body section I want it to be bottom 5px Left 5px right 5px I can get it to look good in firefox but IE it looks like crap. I have tried the above and it does not work. Any suggestions Thanks |
|
#2
|
||||
|
||||
|
.
I'm not sure what you're asking? The only thing I can see wrong at the moment is the body table touches the menu, is that your question?
If it is what I would suggest is putting them on two different div layers, just put this into your stylesheet and then call them with the approriate tags: Code:
#left {
position: absolute;
top:100px;
left: 2;
width: 200px;
margin: 1% 1% 0 0;
}
#middle {
position: absolute;
top:125px;
left:210px;
width:550px;
margin-top: 1%;
}
So in your main html document, you would put: Code:
<div id="LEFT" class="main">
<div id="menu" class="menuColor">
<div id="menuHeader">Main</div>
<div id="menuItem" class="menuItem"><a href="index.htm">Home</a></div>
<div id="menuItem"><a href="contactinfo.htm">Contact info</a></div>
<div id="menuItem"><a href="resume.htm">Resume</a></div>
<div id="menuItem"><a href="links.htm">Links</a></div>
<div id="menuHeader">Design</div>
<div id="menuItem"><a href="web_des.htm">Web</a></div>
<div id="menuItem"><a href="graphic_des.htm">Graphic</a></div>
<div id="menuItem">Flash</div>
<div id="menuItem">Services</div>
<div id="menuHeader">Fun Stuff </div>
<div id="menuItem">Neverwinter Nights </div>
<div id="menuItem">PC Modding</div>
<div id="menuItem">Photo Manipulation</div>
<div id="menuItem">Cool Links</div>
<div id="menuHeader">Quick Links </div>
<div id="menuItem"><a href="http://www.google.com" target="_blank">Google</a></div>
<div id="menuItem"><a href="http://www.slickdeals.net" target="_blank">Slickdeals</a></div>
<div id="menuItem"><a href="http://www.spoofee.com" target="_blank">Spoofee</a></div>
<div id="menuItem"><a href="http://www.fark.com" target="_blank">Fark</a></div>
</div>
And for the main body tabel use: Code:
<div id="MIDDLE" class="main">
<table height="100%">
<tr>
<td valign="top"><p align="center">Welcome back to Tekjocks Realm </p>
<p><BR>
I have been away for a while and I have not made many updates to my site. I have been a little busy, I have been in the prosess of designing and administering a few web sites and also doing some corperate logo design. We offer several design services in <a href="web_des.htm">Web </a>, <a href="graphic_des.htm">Graphic </a>and <a href="flash_des.htm">Flash </a> Design. From small busisness to large corperations we can accomodate your needs. We also specialize in Logo Design we can create several designs per your needs, or if you have an idea we can work together to meet your needs. If you are interested in our service please <a href="contactinfo.htm">contact us </a> and we can discuss what you need based on your needs and budget. </p></td>
</tr>
</table>
<p> </p></DIV>
I think this is what you want - apologies if not. |
|
#3
|
|||
|
|||
|
Im talking about the grey section, i want it 5px from the bottom
|
|
#4
|
||||
|
||||
|
Very difficult to parse mentally. The code is semantically and structurally poor. You should also note that an id applies to one element and one element only.
To see a simple explanation for my suggestion go to my float demo, and note example 3. That's what you have haoppening. Code:
</table>
<p style="clear: both; height: 0px; overflow: hidden;"> </p> <!-- add the style rule -->
<!-- InstanceEndEditable -->
<br /> <!-- remove this -->
</div>
</body>
cheers, gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing. My html and css workshop, demos and tutorials. Ask a better question, get a better answer. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Cross Browser CSS question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|