Tag Archives: Border Width

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

Browser compatibility…

Initially I want to talk about a big Howdy to everybody since My business is totally new to the present forum in fact it i the first time ever I’m asking something… I like making web models, I am a amateur an Concerning enrolled at a school that provides online designing diplomas… I made our first wed page person and when WE crossed check this with other browsers I almost fainted… I help safari and have got downloaded Firefox and Netscape, in addition Concerning a windows desktop for checking the results with IE plus Firefox for microsoft windows… We’ve uploaded the index chart. html, css and this image folder to aid you to see what We have done… We’ve written it most with textdit (I enjoy markup writing) although, IE and Firefox regarding windows made this disaster… I virtually started crying (I here’s totally new together with XHTML)… please tell me what on earth do you have done as a way to see the page in all browsers (I have additionally added a picture that you can see how the item should look -If you may not have a mac… ) The markup in addition to css is validated with … Continue reading

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

Photo gallery moves each time you proceed to next picture

MY PARTNER AND I used a photoslide generator ro build a image gallery. Whenever I hit alongside the next snapshot, the page resizes based on picture size. Possibly there is something i are able to do within the css which could keep it centered but not moving with each and every procession I just now it centered. Each photo may be a different html page so if i must change the photograph, i have research and change every page….. This is my css computer code. with thanks! /* Principal Selectors */ system background-color: #FFFFFF; color: #000000; a, a: visited background-color: clear; color: #800000; a: hover background-color: clear; color: #008000; /* Header */ div#header h1 font-family: " Courier New", Courier, monospace; text-align: heart; background-color: clear; color: #000000; /* Thumbnail List */ div#index perimeter: 1ex 0 1ex 0; text-align: heart; div#index stand text-align: heart; perimeter: 0 auto 0 vehicle; div#index td. thumbcell wider: 140px; border-style: good; border-color: #D7D3C8; border-width: 1px; text-align: heart; vertical-align: heart; padding: 10px; div#index td. thumbcell img border-style: none; div#index div. web pages font-family: tahoma, arial, helvetica, sans-serif; font-size: 0. 8em; text-align: right; /* Photography Navigation */ div#navigation text-align: heart; font-family: tahoma, arial, helvetica, sans-serif; font-size: 0. 8em; perimeter: … Continue reading

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