makemusic
Programmer
- Apr 3, 2004
- 43
Hi
In my CSS I'm calling a layer that should be 660px wide, but in Firefox it's only appearing as wide as the letters that are contained within it. My CSS code for the layer is as follows, and you can see how it looks at (it's the purple subheading box that appears under the main heading):
#subheading {
position: relative;
left: 0px;
top: 0px;
width: 660px;
background-color: #D0B8DA;
text-align: left;
border: thin solid #5A445E;
padding: 3px;
overflow-y:hidden;
overflow-x:hidden;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 18px;
display: inline;
font-style: normal;
font-weight: normal;
color: #333300;
Any help gratefully received!
In my CSS I'm calling a layer that should be 660px wide, but in Firefox it's only appearing as wide as the letters that are contained within it. My CSS code for the layer is as follows, and you can see how it looks at (it's the purple subheading box that appears under the main heading):
#subheading {
position: relative;
left: 0px;
top: 0px;
width: 660px;
background-color: #D0B8DA;
text-align: left;
border: thin solid #5A445E;
padding: 3px;
overflow-y:hidden;
overflow-x:hidden;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 18px;
display: inline;
font-style: normal;
font-weight: normal;
color: #333300;
Any help gratefully received!