HI, I have a slight problem here. My (.wrapper) div is set to 90% width, shouldn't background colour I have set to it extend only inside the (.wrapper) div instead of all the body? It seems that the content is rendering right, and it is centered with 90% width.
<header>
<div id="search">
<form>
<input name="q" placeholder="Look for an item..." autofocus>
<input type="submit" value="Go">
</form>
<div id="user_widgets">
<p>Login / Register</p>
<p>My Cart</p>
<p>Check out</p>
</div>
</div>
<div id="logo">
<img src="images/Logo.jpg" width="150" height="100"/>
<div class="origin_cards_text">
<h1>Welcome to Origin Cards!</h1>
<h2>Creative thinking, creative doing.</h2>
</div>
</div>
<nav class="global">
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="cards.php">Cards</a></li>
<li><a href="pictures.php">Pictures</a></li>
<li><a href="gifts.php">Gifts</a></li>
<li><a href="parties_and_workshops.php">Parties & Workshops</a> </li>
<li><a href="events_and_exhibitions.php">Exhibitions & Events</a></li>
<li><a href="contact_us.php">Contact Us</a></li>
</ul>
</nav>
</header>
<div class="wrapper">
<section class="maincontent">
<article>
<p>PQuis auctor ridiculus enim porta tincidunt egestas elementum, lectus platea, et odio ac sed egestas dolor a mattis elit arcu.
Eros turpis nec rhoncus quis mid mid augue! Montes a, diam et, tincidunt, et velit ultricies, dignissim enim ac
purus adipiscing cras! Velit amet egestas aliquet elementum dignissim sociis mid a est, est sit ut cum eu, pellentesque.
A ridiculus cras sed? Sed ac? Aliquet? Duis mattis augue tincidunt ut, nec porta mus diam! Porta porttitor porttitor,
in? Pellentesque in egestas massa ultricies sed sit sociis mauris ac mus sociis ac natoque odio massa lorem turpis
risus integer mid! Magna et quis phasellus cum? Sociis nunc? Scelerisque elementum quis ac penatibus mus! Sed
tincidunt? Elit pulvinar rhoncus! Etiam et, dictumst.</p>
</article>
</section>
<aside class="local_nav">
<ul>
<li><a href="faq.php">FAQ</a></li>
<li><a href="reference.php">References</a></li>
<li><a href="subscribe.php">Subscribe</a></li>
<li><a href="bookmark.php">Bookmark</a></li>
<li><a href="tell_friend.php">Tell a friend</a></li>
<li><a href="feedback.php">Feedback</a></li>
<li><a href="site_map.php">Sitemap</a></li>
</ul>
</aside>
I don't see the use of wrapper in the above HTML anywhere, if you could post a screenshot or a link to your site as its extremely hard to debug code without something to look at.
HI, I have a slight problem here. My (.wrapper) div is set to 90% width, shouldn't background colour I have set to it extend only inside the (.wrapper) div instead of all the body? It seems that the content is rendering right, and it is centered with 90% width.
Here's the code:
And the HTML:
<?php include("footer.php"); ?>
I don't see the use of
wrapperin the above HTML anywhere, if you could post a screenshot or a link to your site as its extremely hard to debug code without something to look at.Sorry, just posted the whole thing. Cheers
Sorted , thank you