peranha Posted December 15, 2007 Share Posted December 15, 2007 I am using css to control the look of my website here is the code. a:link, a:visited, a:hover { color: RED; text-decoration: none; } body { background: #619CDE; } table { background: lightblue; border-collapse: separate; empty-cells: show } .yellow { color: YELLOW; font-size: 12px; } .red { color: RED; font-size: 12px; } H1 { color: #090363; font-size: 12px; } #head { background: #C0C0C0; height: 115px; background: url(../pics/backhead.JPG); } When I load the page, the backhead.jpg file does not go across the whole screen. Attached is a screen shot of what I am talking about. I would like the gray and the blue bars to go across the screen. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/81778-solved-screen-not-filling-up/ Share on other sites More sharing options...
phpQuestioner Posted December 15, 2007 Share Posted December 15, 2007 left to right background: url(../pics/backhead.JPG) repeat-x; top to bottom background: url(../pics/backhead.JPG) repeat-y; left to right and top to bottom (both directions) background: url(../pics/backhead.JPG) repeat Link to comment https://forums.phpfreaks.com/topic/81778-solved-screen-not-filling-up/#findComment-415790 Share on other sites More sharing options...
peranha Posted December 16, 2007 Author Share Posted December 16, 2007 Tried repeat-x, and still the same thing. Link to comment https://forums.phpfreaks.com/topic/81778-solved-screen-not-filling-up/#findComment-415901 Share on other sites More sharing options...
phpQuestioner Posted December 16, 2007 Share Posted December 16, 2007 Must be an issue with the width of the div; set it to display "block" and give it a width of either "100%" or "auto". Link to comment https://forums.phpfreaks.com/topic/81778-solved-screen-not-filling-up/#findComment-415913 Share on other sites More sharing options...
peranha Posted December 16, 2007 Author Share Posted December 16, 2007 Yes that worked. a:link, a:visited, a:hover { color: RED; text-decoration: none; } body { background: #619CDE; font-size: 15px; background: url(../pics/background.JPG); } table { background: lightblue; border-collapse: separate; empty-cells: show } .yellow { color: YELLOW; font-size: 12px; } .red { color: RED; font-size: 12px; } H1 { color: #090363; font-size: 12px; } #head { background: #C0C0C0; height: 90px; width: 100%; background: url(../pics/backhead.JPG); } Thanks for the help Link to comment https://forums.phpfreaks.com/topic/81778-solved-screen-not-filling-up/#findComment-415956 Share on other sites More sharing options...
phpQuestioner Posted December 16, 2007 Share Posted December 16, 2007 your welcome Link to comment https://forums.phpfreaks.com/topic/81778-solved-screen-not-filling-up/#findComment-415984 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.