rossanderson88
Members
-
Joined
-
Last visited
Reputation Activity
-
rossanderson88 reacted to lee grant in Best way to do a content box?I'd ditch the iframe idea an do it with ajax and jquery like so ..
http://www.electrictoolbox.com/load-content-jquery-ajax-loading-image/
-
rossanderson88 reacted to lee grant in Best way to do a content box?Yep you shouldn't have any problems.
This may be a better read for you http://yensdesign.com/2008/12/how-to-load-content-via-ajax-in-jquery/
-
rossanderson88 reacted to MarkJenner in Noob Questions :D.With regards to centering, simply add
margin: 0 auto;
to your wrapper/container/outter division (setting a width aswell).
For the background image, have you considered setting it as the main background and tiling it?
-
rossanderson88 reacted to Jebediah_bobo in Noob Questions :D.Hi Mate
Best way to centre is to wrap your site in a containing Div and set a width for that div. Then set the margin css for that div to margin: 0px auto 0px auto; and that will align your site centre.
As for resizing the background image I am not sure. You would likely need some javascript to read the screen size which would then select a different background image to suit. But to be honest this is probably taking it a bit far.
Hope that helps in some way.
Jeb
-
rossanderson88 reacted to KCooper in Noob Questions :D.There should be a "wrapper" (<div id="wrapper">) or "container" DIV around all your content in the HTML. You need to then reference this in the CSS like this:
#wrapper {
margin: 0 auto;
width: 960px;
}
(The '960' value depends on how much width you want to give your content, but 960 is a good standard and what I usually go with)
No such thing, everyone starts somewhere