How Exactly Do I Use The <div> |
||
Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
Zymic Webmaster Forums Web Design & Development Client Side Scripting HTML and CSS |
||
How Exactly Do I Use The <div> |
||
Jan 19 2008, 12:46 AM
Post
#1
|
|
|
Member ![]() ![]() Group: Members Posts: 84 Joined: 9-November 07 Member No.: 2,593 |
Hi,
Just wondering about the <div> code... How exactly do i use div codes? I think i need a CSS sheet am i right? I understand it works like a table, And i can change the WxH like this: <div id="content" style="width: 985; height: 308">test</div> But how would I Position them and center them etc... Centering: <div align="center"> ?? (didn't seem to center very well) And how would I put them side on to each other as a column? Thanks, Vaisor |
|
|
![]() |
Jan 19 2008, 08:48 PM
Post
#2
|
|
![]() Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,196 Joined: 19-September 07 Member No.: 234 |
CODE FFS STOP TRYING TO TEACH PEOPLE WRONG THINGS. Stop being so fuckin mean, dude, you seriously piss off... and im serious, you make so dumb comments so times.. it really pisses me off. a smart comment from Bread : CODE Properties and selectors I think are the proper terminology. I guess he actually read what i write before he makes stupid comments : CODE Not the words to use i guess since i did not learn off the book but by my self Dude, im not trying to be mean or hard, but if i dont tell you... you gonna be like it all the time... seriously.. your comments are mean and rude. Try to be nicer to people. |
|
|
Vaisor How Exactly Do I Use The <div> Jan 19 2008, 12:46 AM
Vaisor lol dw just wanted to know how to use divs but im ... Jan 19 2008, 02:26 AM
Cmain Read a book or some tutorials on CSS. To center a ... Jan 19 2008, 03:44 AM
Vaisor aha there we go, thanks man Jan 19 2008, 07:16 AM
MrTouz Using divs is simple, what im gonna write might no... Jan 19 2008, 11:22 AM
Bread Using divs is simple, what im gonna write might no... Jan 19 2008, 12:45 PM
Crown FFS STOP TRYING TO TEACH PEOPLE WRONG THINGS.
Sto... Mar 16 2008, 10:11 AM
Vaisor ok..
And is there a way to put them so that the a... Jan 20 2008, 05:04 AM
Cmain margin: 0 auto;
That should center the div.
t... Jan 20 2008, 05:27 AM
b-boypshyk margin: 0 auto;
That should center the div.
t... Mar 16 2008, 04:46 AM
Cmain just looking around...im not saying you are wrong.... Mar 16 2008, 02:51 PM
bezz I think this best explains how to layout a page us... Jan 20 2008, 05:55 AM
Vaisor Awesome thanks alot guys
[code]margin: 0 auto... Jan 20 2008, 06:24 AM
MrTouz See now what you should do is :
create a .css fil... Jan 20 2008, 09:48 AM ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 19th June 2013 - 10:35 AM |