dadamssg Posted April 15, 2009 Share Posted April 15, 2009 im trying to create a header div and want it to span all the way across the width of the page. How do i do the css to accomplish this? example www.snappages.com Link to comment https://forums.phpfreaks.com/topic/154231-set-div-width/ Share on other sites More sharing options...
jcombs_31 Posted April 15, 2009 Share Posted April 15, 2009 By default a div is a block element, but you can use div { width: 100% } Link to comment https://forums.phpfreaks.com/topic/154231-set-div-width/#findComment-810832 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.