Tag Archives: Cigar

Centering a div, sans tables

So how exactly does one center any div, without making use of tables I’m absolutely lost here. Thanks for virtually every help. Code: … < head> < style type=" text/css" media=" screen" > html code, body text-align: middle; #centre width: 760px; text-align: left; margin: 0 automobile; < /style> < /head>… Code: < div id=" centre" > This block element is going to be centred in the actual browser window. < /div> The < DIV> tag is similar to < P> tag. Just set this attribute ALIGN=" center" as well as you’re on. Code: < div align=" center" > this text stands in the centre. < /div> Even so, that’s not W3C good.. Ok, I’ve tried every one of those things, but I didn’t make use of the margin: 0 automobile; line. That won’t affect the centering have to it Code: body text-align: middle; background-color: #2C4762; font-family: verdana, arial; font-size:. 8em; . major width: 900px; levels: 100%; border-width: 1px; border-color: #546A80; border-style: strong; background-image: url(.. /images/sky. jpg); background-repeat: no-repeat; backroud-color: #2C4762; Subject to the code, it could possibly. More so around other resolutions. Give it any shot at anything better or scaled-down then what you’re running right now. Yes and also, … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Center page nightmare

Hey all i know this is probably been asked some sort of million times yet ive searched and searched research everything ive discovered nothing seems to operate so ive ended up here for intelligence. Ive recently been asked like a favour to my mum for around of her friends to undertake a few basic alterations thus to their website one of many main on the actual list being in order to center the web site. Now ive tried everything from center tags for you to div align in addition to nothing seems to be effective the sites these www. acembroidery. com any help can be appreciated thankyou. i recently posted this at another thread http: //www. webdesignforums. net/showthread. phpp=241054#post241054 Add this in your div under your body tag so it looks like this… < div style=" perimeter: 0pt auto; position: relative; width: 750px; " > The coding is really bad, must often be MS Word or something aeroweb99 tryed what exactly ya said sorry to say no cigar and also im pretty positive im implementing this correctly Simply the styles, will not add another div, just put those styles rather than the other styles inside the div after one’s body. … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment