dominic600 Posted August 10, 2011 Share Posted August 10, 2011 So I dont have a problem or anything like that but i want to change up my header and when i put the header in no matter how wide theres always white spaces on the sides and top. My question is how do i make the header touch all edges of the webpage with no gap? Thanks, Dominic Link to comment https://forums.phpfreaks.com/topic/244374-header-questions/ Share on other sites More sharing options...
Psycho Posted August 10, 2011 Share Posted August 10, 2011 You need to change the style properties of the page to remove margins. Find a tutorial on CSS/Style Sheets and give it a read. But, to just remove the page margins, add the following style section inside the head tags of your page. <html> <head> <style> body { margin: 0px; } </style> </head> ... Link to comment https://forums.phpfreaks.com/topic/244374-header-questions/#findComment-1255139 Share on other sites More sharing options...
dominic600 Posted August 10, 2011 Author Share Posted August 10, 2011 thanks! and idk why i didnt think about reading a css manual! im going to save and go give that a reaading! Link to comment https://forums.phpfreaks.com/topic/244374-header-questions/#findComment-1255141 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.