i-am-css
Members
-
Joined
-
Last visited
Reputation Activity
-
i-am-css got a reaction from collie in css div background imageYou'll need another container outside of your current container:
<div id="container-main"> <div id="container"> All your content </div> </div>
CSS:
#container-main{ margin: 0 auto; width: 900px; } #container { background-color: black; background-image: url("images/content2.png"); background-repeat: repeat; border-radius: 5px 5px 5px 5px; box-shadow: 3px 3px 10px #000000; float: left; }
Make sure you put the float: left on #container
no heights needed
-
i-am-css got a reaction from apollo-articles in Table Works In IE But Not In Chrome !HELP!Normally I would do this with css but if you don't want to use css then wouldn't it be just as easy to have a table with 2 columns instead of 2 tables?
So your code would be this:
<table><tr><td><big><big>Whats Included?</big></big> <p>We provide ALL of the following as standard in our Jumping Castle Hire!</p> <ul> <li>Medium sized castle with a built in sunshade for children up to 10yrs</li> <li>Delivery, setup and dismantling of the jumping castle</li> <li>Operating instructions to supervising adult</li> <li>Rain cover and front gym mats</li> </ul> <p><em>*travel charges may apply</em></p> <p>Whatever reason you have to hire a Jumping Castle we’re sure you’ll make the right one with Clare Hoppers.</p></td> <td><big><big>Where Clare Hoppers Serve</big></big><br><ul> <li>Clare</li> <li>Kapunda</li> <li>Balaklava</li> <li>Eudunda</li> <li>Burra</li> <li>Riverton</li> <li>Saddleworth</li> <li>Auburn</li> </ul> <p></p></td></tr></table>
Notice i've put the "whatever reason.." text in the first column.
Then the contact us button would go below the table.
-
i-am-css got a reaction from Lev in A Few Simple CSS QuestionsI see you've also made your site using tables. If you want to design using css instead of tables i wrote an article about it here: Layout your website using css
-
i-am-css got a reaction from futureproof in Hovers on links stop working once visitedThis only applies to links. However, the last declaration of a property will over write any previous declarations. For example if you styled your p with a font size and later declared your p again then the first one would be over written:
p{font-size: 8pt}
p{font-size: 12pt}
This would make your paragraph text 12pt as it was the last one. Judging by your code it looks like you may already know this but just thought i'd mention it anyway.