justsomeguy Posted July 10, 2012 Share Posted July 10, 2012 Right, if you search for "meta" you'll find the tag to move. It's even in the screenshot you just posted. There's a meta tag specifying the content type, a title tag saying it's an untitled document, and a chunk of style information. All three of those belong in the head. You probably already have a title in the head, so you can remove the other one. The content type may also be defined already but it shouldn't hurt to do it again if you aren't sure. Link to comment Share on other sites More sharing options...
Zipman Posted July 11, 2012 Author Share Posted July 11, 2012 I think this is the meta and title tag? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled Document</title> Not sure if this is the right style tag? <div class="wrapper container_16" style="overflow:hidden;"> Link to comment Share on other sites More sharing options...
justsomeguy Posted July 11, 2012 Share Posted July 11, 2012 Those are the right meta and title tags, the style block is several lines down and starts with "<style", it has a definition for the background header image. Link to comment Share on other sites More sharing options...
Zipman Posted July 12, 2012 Author Share Posted July 12, 2012 I don't find any "<style" tag between "<body>" "</body>", but found some "<style" tags higher up. I have search for "<style" and I've also gone through each row under "<body>" without finding the tag? Link to comment Share on other sites More sharing options...
justsomeguy Posted July 12, 2012 Share Posted July 12, 2012 I can see it if I go to your page and view the source in the browser. I'm not sure what template system your code is using but that style block might be coming from another template or somewhere else. Link to comment Share on other sites More sharing options...
Zipman Posted July 12, 2012 Author Share Posted July 12, 2012 I have tried to look for the "<style" tag again without finding it. Is there any way you can help me find it? Link to comment Share on other sites More sharing options...
justsomeguy Posted July 12, 2012 Share Posted July 12, 2012 It's probably not a big deal. I would have to look at all of the files that thing is using to figure out how it works. A style tag in the body isn't going to break anything, it's just not technically valid. Link to comment Share on other sites More sharing options...
Zipman Posted July 12, 2012 Author Share Posted July 12, 2012 Ok, but you don't have to do it then, too much work. Thanks for the help! Hope you can help me with one more thing? Have not found any solution to the problem yet. The header is too high up, I need to move it down a bit (see picture). Have tried to change the margin, but then the whole page moves down (see picture). Link to comment Share on other sites More sharing options...
justsomeguy Posted July 12, 2012 Share Posted July 12, 2012 You should look into your browser's developer tools. There are links in my signature to descriptions about each one. You can use the developer tools to inspect an element on the page and see all of the CSS styles that apply to it and where they come from. You can even change, add, or remove CSS rules and see how it changes the page. It looks like the height on the header is what you want to change. Link to comment Share on other sites More sharing options...
dsonesuk Posted July 12, 2012 Share Posted July 12, 2012 You have got to place the banner container underneath the navigation and apply clear:both; to it. Link to comment Share on other sites More sharing options...
Zipman Posted July 14, 2012 Author Share Posted July 14, 2012 (edited) You should look into your browser's developer tools. There are links in my signature to descriptions about each one. You can use the developer tools to inspect an element on the page and see all of the CSS styles that apply to it and where they come from. You can even change, add, or remove CSS rules and see how it changes the page. It looks like the height on the header is what you want to change. Ok, I will see if I can find the tools, thanks! I have tried to change the height, but the header doesn't move. Edited July 14, 2012 by Zipman Link to comment Share on other sites More sharing options...
Zipman Posted July 14, 2012 Author Share Posted July 14, 2012 You have got to place the banner container underneath the navigation and apply clear:both; to it. Like this? Not sure if this is right?<div style="clear:both"> When I use clear:both, almost all of the background disappears and the header is not right as you can see on the picture. Link to comment Share on other sites More sharing options...
dsonesuk Posted July 14, 2012 Share Posted July 14, 2012 (edited) You have got to place the banner container underneath the navigation and apply clear:both; to it. Edited July 14, 2012 by dsonesuk Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now