dardartektips
MIS
I am trying to redesign our front page to have a fluid design.
I have created
my css_index_new.css is :
My html is as follows:
On the newly created page there is a gap between the picture and the text on the following pictures/hyperlinks,
Italian Glass Billiard Lighting
Copperfoil
More Billiard
4 shade Billiard
Brass & Glass
Pendants & Flush Mounts
Island
I can see it in frontpage, but when you look at the page in Fox it's not there but it is in IE. I don't care if it's there or not but I want it to be consistent, it's messing up the alignment of my page.
I am a relative newby to css, in case you can't tell by my code. Where have I gone wrong ?
Thanks,
Laura
I have created
my css_index_new.css is :
Code:
html, body { margin: 0; padding: 0; background-color:#DDD8B9; }
#header {
width: 100%;
position:absolute;
top:1%;
left:1%;
}
#intro {
width: 100%;
position: absolute;
top: 25%;
right: -35%;
font-family: Arial, Helvetica, sans-serif;
font-size: 16pt;
font-style: italic;
}
#products {
width: 75%;
position: absolute;
top: 100%;
left: 0%;
}
#row1_text {
margin: 0; padding: 0;
font-family: Arial, Helvetica, sans-serif;
font-size: 16pt;
font-style: italic;
text-align: center;
position:absolute;
top:100%;
left:0%;
width: 100%;
z-index: -1;
}
#row1_col1 {
margin: 0; padding: 0;
position:absolute;
top:100%;
left:1%;
width: 32%;
z-index: 1;
}
#row1_col2 {
margin: 0; padding: 0;
position:absolute;
top: 100%;
left: 34%;
width: 32%;
z-index: 1;
}
#row1_col3 {
margin: 0; padding: 0;
position:absolute;
top: 100%;
left: 67%;
width: 32%;
z-index: 1;
}
#row2 {
margin: 0; padding: 0;
position:absolute;
left: 0%;
top:120%;
width: 100%;
z-index: 1;
}
#about_toltec {
position:absolute;
left: 0%;
bottom: 100%;
width: 35%;
}
#contact_toltec {
position:absolute;
left: 95%;
bottom: 0%;
width: 100%;
}
#why_toltec {
position:absolute;
left: 100%;
bottom: 0%;
width: 100%;
}
#copyright {
text-align: center;
width: 300%;
position: absolute;
top: 200%;
left: 3%;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: italic;
}
My html is as follows:
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" type="text/css" href="style_scripts/css_index_new.css">
</head>
<body>
<div id="header" style="z-index: 2">
<div id="row1_col2" style="z-index: 9">
<div id="row2" style="z-index: 1">
<div id="row2" style="z-index: 1">
<div id="row2">
<div id="row2"><a href="news.htm">
<img border="0" src="images/buttons/news.jpg" width="100%" alt="Toltec News"></a>
<div id="row1_text"><a href="news.htm">Toltec News</a></div>
</div>
<a href="pendants.htm"><img border="0" src="images/buttons/pendants_flush_mount_produc.jpg" width="100%" alt="Flush Mounted Lighting"></a>
<div id="row1_text"><a href="pendants.htm">Pendants & Flush Mount</a></div>
</div>
<a href="chandelier_index.htm"><img border="0" src="images/buttons/iron_chandeliers_product.jpg" width="100%" alt="Iron Chandeliers"></a><div id="row1_text"><a href="iron_chandeliers.htm">Iron Chandeliers</a></div>
</div>
<a href="most_popular_chandeliers.htm">
<img border="0" src="images/buttons/most_popular_chandelier.jpg" width="100%" alt="Most Popular Chandeliers"></a><div id="row1_text"><a href="most_popular_chandeliers.htm">Most Popular Chandeliers</a></div>
</div>
<a href="whats_new_chandeliers.htm">
<img border="0" src="images/buttons/whats_new_chandelier.jpg" width="100%" alt="What's New In Chandeliers"></a><div id=row1_text><a href="whats_new_chandeliers.htm">What's New In Chandeliers</a></div>
</div>
<div id="row1_col3" style="z-index: 8">
<div id="row2">
<div id="row2">
<div id="row2">
<div id="row2" style="z-index: 1"><a href="italian_glass.htm"><img border="0" src="images/buttons/island_product.jpg" width="100%" alt="Island Lights"></a>
<div id="row1_text"><a href="italian_glass.htm">Island Lighting</a></div>
</div>
<a href="lamps_torchiers.htm"><img border="0" src="images/buttons/product_lamps_torchiers.gif" width="100%" alt="Lamps & Torchiers"></a><div id="row1_text"><a href="lamps_torchiers.htm">Lamps & Torchiers</a></div>
</div>
<a href="bathroom.htm"><img border="0" src="images/buttons/bathroom_product.jpg" width="100%" alt="Bathroom Lighting"></a><div id="row1_text"><a href="bathroom.htm">Bathroom Lighting</a></div>
</div>
<a href="most_popular.htm"><img border="0" src="images/buttons/most_popular_product.jpg" width="100%" alt="Most Popular Billiard Lights"></a><div id="row1_text"><a href="most_popular.htm">Most Popular Billiard</a></div>
</div>
<a href="whats_new.htm"><img border="0" src="images/buttons/whats_new_product.jpg" width="100%" alt="What's New at Toltec"></a><div id="row1_text"><a href="whats_new.htm">What's New in Billiard Lighting</a></div>
</div>
<div id="row1_col1" style="z-index: 7">
<div id="row2">
<div id="row2">
<div id="row2">
<div id="row2">
<div id="copyright" style="z-index: 1">
<div id="about_toltec">
<div id="contact_toltec">
<div id="why_toltec"><img border="0" src="images/buttons/why_buy_toltec.gif" width="100%" align="right"></div>
<a href="Contact_Us.htm"><img border="0" src="images/buttons/contact_toltec.gif" width="100%" align="left"></a>
</div>
<img border="0" src="images/buttons/about_toltec.gif" align="left" width="100%">
</div>
<p>Copyright © 2007 [Toltec Company]. All rights reserved.</p>
<p><a title="back to top" style="font-family: Bookman Old Style" href="#top"><font size="2">Back to Top</font></a></p>
</div>
<a href="brass_glass.htm"><img border="0" src="images/buttons/brass_glass_product.jpg" width="100%" alt="Brass & Glass Tiffany's"></a>
<div id="row1_text"><a href="brass_glass.htm">Brass & Glass</a></div>
</div>
<a href="4_bar_lights.htm"><img border="0" src="images/buttons/4_bar_lights_product.jpg" width="100%" alt="4 Bar Lights"></a>
<div id="row1_text"><a href="4_bar_lights.htm">4 Shade Billiard Lighting</a></div>
</div>
<a href="more_billiard.htm"><img border="0" src="images/buttons/more_billiard_product.jpg" width="100%" alt="More Billiard Lights"></a>
<div id="row1_text"><a href="more_billiard.htm">More Billiard Lighting</a></div>
</div>
<a href="copperfoil.htm"><img border="0" src="images/buttons/copper_foil_product.jpg" width="100%" alt="Copper Foil Billiard Lights"></a>
<div id="row1_text"><a href="copperfoil.htm">Copper Foil Billiard Lighting</a></div>
</div>
<a href="italian_glass.htm">
<img border="0" src="images/buttons/italian_glass_product.jpg" width="100%" alt="Italian Glass Billiard Lights"></a>
<div id="row1_text"><a href="italian_glass.htm">Italian Glass Billiard Lighting</a></div>
</div>
<div id="intro" style="z-index: 11">
<div id="products" style="z-index: 2"><img border="0" src="images/buttons/our_products.gif" width="40%"></div>
<img border="0" src="images/buttons/index_statement.gif" width="60%">
</div>
<a name="top"></a><img border="0" src="images/buttons/toltec_logo_main.gif" width="35%">
</div>
</body>
</html>
On the newly created page there is a gap between the picture and the text on the following pictures/hyperlinks,
Italian Glass Billiard Lighting
Copperfoil
More Billiard
4 shade Billiard
Brass & Glass
Pendants & Flush Mounts
Island
I can see it in frontpage, but when you look at the page in Fox it's not there but it is in IE. I don't care if it's there or not but I want it to be consistent, it's messing up the alignment of my page.
I am a relative newby to css, in case you can't tell by my code. Where have I gone wrong ?
Thanks,
Laura