LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 287 users online 221842 members 221 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
dhaxelbarqs
I haven't filled out my profile...
Days Active: 5
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
2 online / 20 MPM
Fresh Topics
  LiveWire / Technical Forums / Web Design & Search Engine Optimization / Viewing Topic

CSS Issue. Help
Replies: 12Last Post May 12, 2008 6:12am by JeremyM
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( Another Chance )

Soothsayer
Reply
I'm using css to position a table in dreamweaver. I position the table exactly how I want it in dreamweaver and when I go to view it in I.E. explorer it's like moved 5-10 pixels to the left. It's stupid and annoying. Why isn't this thing where I put it?

Can someone help?

-------
There's no present. There's only the immediate future and the recent past.
 - George Carlin


10:29 pm on May 4, 2008 | Joined: July 2006 | Days Active: 561
Join to learn more about Another Chance Michigan, United States | Straight Male | Posts: 7,108 | Points: 12,576
LiveWire Humor
beautiful flame


Advisor
Reply
What are you talking about?

-------
Clicky :]

10:37 pm on May 4, 2008 | Joined: June 2007 | Days Active: 12
Join to learn more about beautiful flame Kentucky, United States | Straight Female | Posts: 355 | Points: 482
JeremyM

Visionary

Patron
Reply
Dreamweaver WYSIWYG editing does not render exactly how it will in a browser.

What are you trying to do exactly? Center a table on your page?

-------
smd

"I can stop peeing I gots skillzthatkillz"


7:30 am on May 7, 2008 | Joined: Oct. 2004 | Days Active: 432
Join to learn more about JeremyM New York, United States | Straight Male | Posts: 5,388 | Points: 8,576
( Another Chance )

Soothsayer
Reply
Quote: from JeremyM at 7:30 am on May 7, 2008

Dreamweaver WYSIWYG editing does not render exactly how it will in a browser.

What are you trying to do exactly? Center a table on your page?


Nevermind, I found out it's some dreamweaver fuckup. Screw the layers.

-------
There's no present. There's only the immediate future and the recent past.
 - George Carlin


2:55 pm on May 7, 2008 | Joined: July 2006 | Days Active: 561
Join to learn more about Another Chance Michigan, United States | Straight Male | Posts: 7,108 | Points: 12,576
JeremyM

Visionary

Patron
Reply
Ha, layers are soon to be THE web standard, my man.

-------
smd

"I can stop peeing I gots skillzthatkillz"

6:20 pm on May 7, 2008 | Joined: Oct. 2004 | Days Active: 432
Join to learn more about JeremyM New York, United States | Straight Male | Posts: 5,388 | Points: 8,576
( Another Chance )

Soothsayer
Reply
Quote: from JeremyM at 6:20 pm on May 7, 2008

Ha, layers are soon to be THE web standard, my man.

I know but they won't act right. I place something right where I want it in dreamweaver and it's displaced in the browser. What kind of shit is that. What can ya do.

-------
There's no present. There's only the immediate future and the recent past.
 - George Carlin


7:47 pm on May 7, 2008 | Joined: July 2006 | Days Active: 561
Join to learn more about Another Chance Michigan, United States | Straight Male | Posts: 7,108 | Points: 12,576
JeremyM

Visionary

Patron
Reply
Quote: from Another Chance at 10:47 pm on May 7, 2008

Quote: from JeremyM at 6:20 pm on May 7, 2008

Ha, layers are soon to be THE web standard, my man.

I know but they won't act right. I place something right where I want it in dreamweaver and it's displaced in the browser. What kind of shit is that. What can ya do.


Like I said, DW doesn't render the same as a browser. If it does, which is rare, there is usually something else messed up.

Use the CSS panel to edit the positions. Make sure they are absolute and not relative. Is your page center or left aligned?

-------
smd

"I can stop peeing I gots skillzthatkillz"


5:54 am on May 8, 2008 | Joined: Oct. 2004 | Days Active: 432
Join to learn more about JeremyM New York, United States | Straight Male | Posts: 5,388 | Points: 8,576
( Another Chance )

Soothsayer
Reply
It's center. I'll try that.

-------
There's no present. There's only the immediate future and the recent past.
 - George Carlin

11:02 am on May 8, 2008 | Joined: July 2006 | Days Active: 561
Join to learn more about Another Chance Michigan, United States | Straight Male | Posts: 7,108 | Points: 12,576
JeremyM

Visionary

Patron
Reply
If it's center...do this:

Code:
<div class="whatever class">
put ALL content in here
</div>

That will be your HTML.

This is your CSS:
Code:
.whatever class {
width: 800px;
left: 50%;
margin-left: -400px;
}

You know what I'm doing there?  

I'm telling the browser to bring everything to the middle of the page at 50%. Then, I'm telling it to subtract 400 pixels from that (half of your width of the whole table).

So whatever your width is, divide that by 2 and put that as a negitive value in your left margin.

Post edited at 5:44 am on May 9, 2008 by JeremyM

-------
smd

"I can stop peeing I gots skillzthatkillz"


5:43 am on May 9, 2008 | Joined: Oct. 2004 | Days Active: 432
Join to learn more about JeremyM New York, United States | Straight Male | Posts: 5,388 | Points: 8,576
( Another Chance )

Soothsayer
Reply
Yeah I get that. Name it then specify it's position using css. I just didn't know the code to use in order to get it done. Thx.

-------
There's no present. There's only the immediate future and the recent past.
 - George Carlin

11:26 pm on May 9, 2008 | Joined: July 2006 | Days Active: 561
Join to learn more about Another Chance Michigan, United States | Straight Male | Posts: 7,108 | Points: 12,576
rand0mguy


Wealthy Hobo
Reply
Code:
#table_id{margin:0;}
why u using tables? it better be tabular data


-------
aaaaaah im bored

9:47 pm on May 10, 2008 | Joined: Jan. 2008 | Days Active: 247
Join to learn more about rand0mguy New Zealand | Straight Male | Posts: 1,372 | Points: 4,605
allsmiles


Enlightened One

Patron
Reply
yea cos if it isn't tabular data you will be torn into pieces and there will be no cake for you. I mean, it's the biggest sin you know.

-------
When they leave me, they're all smiles.
When they leave you, they're in tears.

2:52 am on May 12, 2008 | Joined: Aug. 2007 | Days Active: 565
Join to learn more about allsmiles England, United Kingdom | Male | Posts: 8,808 | Points: 15,784
JeremyM

Visionary

Patron
Reply
Quote: from Another Chance at 2:26 am on May 10, 2008

Yeah I get that. Name it then specify it's position using css. I just didn't know the code to use in order to get it done. Thx.

I just told you the code to get it done.  

-------
smd

"I can stop peeing I gots skillzthatkillz"


6:12 am on May 12, 2008 | Joined: Oct. 2004 | Days Active: 432
Join to learn more about JeremyM New York, United States | Straight Male | Posts: 5,388 | Points: 8,576
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Web Design & Search Engine Optimization / Viewing Topic