B
Becky Lash
Hi, all,
Thanks to all of you who made the suggestion to start with basic html in a
different thread ("CSS2 question" posted 11/22/04). That has made things
much simpler. Because I am constructing most pages from scratch, I decided
to try to learn transitional XHTML syntax that validates. So far, both my
first page and .css file validate at the W3C site.
I have three questions pertaining to the following URL:
http://www.smallbusinessproofreading.com/woodstone/index2.asp
1. When you pass the mouse cursor over the top menu buttons, the text does
not align on the buttons. What are the best
properties to add to my .css to make the text align? I do not want to use
<br /> tags, but I will do that if there is no other way.
Note: I am not crazy about this menu, but the owner insisted that I use
this. I much prefer text-driven menus with not so many graphics.
2. On the left side, the sliced images are not aligning correctly either.
What is the best way to fix this in the .css?
3. The alignment is slightly different in Firefox and Internet Explorer.
Does anyone have any tips on how to deal with these differences in .css? I
googled this and tried a few workarounds I found, but the workarounds did
not fix the difference in alignment. What am I doing wrong?
Note: The site is not finished, of course. The animated GIF was added
because the owner insisted after I pointed out the design issues to him.
I am posting the .css as well, after my closing name "Becky". Thank you
<<very>> much for any insights. I do appreciate the help so much and hope
one day to return the favor when I am better at .css.
Kind regards,
Becky
+++++CSS follows+++++
body
{
margin: 10px;
padding: 0;
border: #FFFFFF;
}
p
{
font-family: Verdana, sans serif;
color: #0000A0;
}
p.menu { font-size: 10px;
color: black;
text-align: center;
text-decoration: none;
padding-top: 3em;
}
a.menu {font-size: 10px;
color: black;
font-weight: bold;
text-decoration: none;
padding-top: 0em;
}
#topnav {
float: left;
width: 100%;
background: transparent;
padding-bottom: 1em;
}
#columnleft {
width: 190px;
float:left;
padding-bottom: 1em;
background: url(../images/woodstone1_3x1.jpg);
vertical-align: top;
border-right-style: solid;
border-right-color: #74c3fc;
border-right-width: thin;
}
#columnmain {
padding-top: 1em;
margin: 0 2em 0 200px;
}
#footer {
clear: both;
padding-bottom: 1em;
border-top: 1px solid #333;
text-align: center;
}
#layer5 {
position: absolute;
width:36px;
height: 40px;
z-index: 7;
left: 690px;
top: 16px;
visibility: hidden;
}
#table24 {
width:70px;
background: url("../images/woodstone2_1x7.jpg");
height:108px;
background-repeat: no-repeat;
}
#layer4 {
position: absolute;
width: 36px;
height: 40px;
z-index: 6;
left: 623px;
top: 16px;
visibility: hidden;
}
#table22 {
width:67px ;
background: transparent url(../images/woodstone2_1x6.jpg);
height:155px;
background-repeat: no-repeat;
}
#layer3 {
position: absolute;
width: 69px;
height: 220px;
z-index: 5;
left: 555px; top: 16px;
visibility: hidden;
}
#table20 {
background: transparent url(../images/woodstone2_1x5.jpg);
width:68px;
height:214px;
background-repeat: no-repeat;
}
#layer2 {
position: absolute;
width: 48px;
height: 36px;
z-index: 4;
left: 487px;
top: 16px;
visibility:hidden;
}
#table21 {
width:68px ;
background: transparent url(../images/woodstone2_1x4.jpg);
height:149px;
background-repeat: no-repeat;
}
#layer1 {
position: absolute;
height: 40px;
width: 36px;
z-index: 3;
left: 419px; top: 16px;
visibility: hidden;
}
#table23 {
width:68px ;
background: transparent url(../images/woodstone2_1x3.jpg);
height:108px;
background-repeat: no-repeat;
}
#layer7 {
position: absolute;
width: 517px;
height: 132px;
z-index: 2;
left: 237px;
top: 124px;
visibility: visible;
}
#layer8 {
position: absolute;
width: 11px;
height: 266px;
z-index: 1;
left: 755px;
top: -10px;
visibility: visible;
}
H1 { font-weight: bold; font-size: 14px; font-family: Verdana, Arial,
sans-serif;
color: #74C3FC; text-decoration: none}
H2 { font-weight: bold; font-size: 14px; font-family: Verdana, Arial,
sans-serif;
color: #74C3FC; text-decoration: none}
H3 {font-weight: bold; color: #21962E;font-family: Verdana, Arial,
sans-serif;
text-decoration: none ; padding-left: 5em}
H4 {font-weight: bold; color: #74C3FC; font-family: Verdana, Arial,
sans-serif;
text-decoration: none }
++++end of css++++
Thanks to all of you who made the suggestion to start with basic html in a
different thread ("CSS2 question" posted 11/22/04). That has made things
much simpler. Because I am constructing most pages from scratch, I decided
to try to learn transitional XHTML syntax that validates. So far, both my
first page and .css file validate at the W3C site.
I have three questions pertaining to the following URL:
http://www.smallbusinessproofreading.com/woodstone/index2.asp
1. When you pass the mouse cursor over the top menu buttons, the text does
not align on the buttons. What are the best
properties to add to my .css to make the text align? I do not want to use
<br /> tags, but I will do that if there is no other way.
Note: I am not crazy about this menu, but the owner insisted that I use
this. I much prefer text-driven menus with not so many graphics.
2. On the left side, the sliced images are not aligning correctly either.
What is the best way to fix this in the .css?
3. The alignment is slightly different in Firefox and Internet Explorer.
Does anyone have any tips on how to deal with these differences in .css? I
googled this and tried a few workarounds I found, but the workarounds did
not fix the difference in alignment. What am I doing wrong?
Note: The site is not finished, of course. The animated GIF was added
because the owner insisted after I pointed out the design issues to him.
I am posting the .css as well, after my closing name "Becky". Thank you
<<very>> much for any insights. I do appreciate the help so much and hope
one day to return the favor when I am better at .css.
Kind regards,
Becky
+++++CSS follows+++++
body
{
margin: 10px;
padding: 0;
border: #FFFFFF;
}
p
{
font-family: Verdana, sans serif;
color: #0000A0;
}
p.menu { font-size: 10px;
color: black;
text-align: center;
text-decoration: none;
padding-top: 3em;
}
a.menu {font-size: 10px;
color: black;
font-weight: bold;
text-decoration: none;
padding-top: 0em;
}
#topnav {
float: left;
width: 100%;
background: transparent;
padding-bottom: 1em;
}
#columnleft {
width: 190px;
float:left;
padding-bottom: 1em;
background: url(../images/woodstone1_3x1.jpg);
vertical-align: top;
border-right-style: solid;
border-right-color: #74c3fc;
border-right-width: thin;
}
#columnmain {
padding-top: 1em;
margin: 0 2em 0 200px;
}
#footer {
clear: both;
padding-bottom: 1em;
border-top: 1px solid #333;
text-align: center;
}
#layer5 {
position: absolute;
width:36px;
height: 40px;
z-index: 7;
left: 690px;
top: 16px;
visibility: hidden;
}
#table24 {
width:70px;
background: url("../images/woodstone2_1x7.jpg");
height:108px;
background-repeat: no-repeat;
}
#layer4 {
position: absolute;
width: 36px;
height: 40px;
z-index: 6;
left: 623px;
top: 16px;
visibility: hidden;
}
#table22 {
width:67px ;
background: transparent url(../images/woodstone2_1x6.jpg);
height:155px;
background-repeat: no-repeat;
}
#layer3 {
position: absolute;
width: 69px;
height: 220px;
z-index: 5;
left: 555px; top: 16px;
visibility: hidden;
}
#table20 {
background: transparent url(../images/woodstone2_1x5.jpg);
width:68px;
height:214px;
background-repeat: no-repeat;
}
#layer2 {
position: absolute;
width: 48px;
height: 36px;
z-index: 4;
left: 487px;
top: 16px;
visibility:hidden;
}
#table21 {
width:68px ;
background: transparent url(../images/woodstone2_1x4.jpg);
height:149px;
background-repeat: no-repeat;
}
#layer1 {
position: absolute;
height: 40px;
width: 36px;
z-index: 3;
left: 419px; top: 16px;
visibility: hidden;
}
#table23 {
width:68px ;
background: transparent url(../images/woodstone2_1x3.jpg);
height:108px;
background-repeat: no-repeat;
}
#layer7 {
position: absolute;
width: 517px;
height: 132px;
z-index: 2;
left: 237px;
top: 124px;
visibility: visible;
}
#layer8 {
position: absolute;
width: 11px;
height: 266px;
z-index: 1;
left: 755px;
top: -10px;
visibility: visible;
}
H1 { font-weight: bold; font-size: 14px; font-family: Verdana, Arial,
sans-serif;
color: #74C3FC; text-decoration: none}
H2 { font-weight: bold; font-size: 14px; font-family: Verdana, Arial,
sans-serif;
color: #74C3FC; text-decoration: none}
H3 {font-weight: bold; color: #21962E;font-family: Verdana, Arial,
sans-serif;
text-decoration: none ; padding-left: 5em}
H4 {font-weight: bold; color: #74C3FC; font-family: Verdana, Arial,
sans-serif;
text-decoration: none }
++++end of css++++