LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 317 users online 167904 members 518 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Video | Dictionary | News | FAQ
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
0 online / 0 MPM
Fresh Topics
  LiveWire / Technical Forums / Web Design & Search Engine Optimization / Viewing Topic

CSS Issue. Help
Replies: 12Last Post May 12 6:12am by JeremyM
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 | 561 Days Active
Join to learn more about Another Chance Michigan, United States | Straight Male | 7120 Posts | 12588 Points
beautiful flame


Advisor
Reply
What are you talking about?

-------
Clicky :]

10:37 pm on May 4, 2008 | Joined June 2007 | 9 Days Active
Join to learn more about beautiful flame Kentucky, United States | Straight Female | 349 Posts | 446 Points
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
LiveWire points are overrated; a currency for artificial respect.
A very funny read


7:30 am on May 7, 2008 | Joined Oct. 2004 | 416 Days Active
Join to learn more about JeremyM New York, United States | Straight Male | 5151 Posts | 9183 Points
( 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 | 561 Days Active
Join to learn more about Another Chance Michigan, United States | Straight Male | 7120 Posts | 12588 Points
JeremyM


Visionary

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

-------
smd
LiveWire points are overrated; a currency for artificial respect.
A very funny read

6:20 pm on May 7, 2008 | Joined Oct. 2004 | 416 Days Active
Join to learn more about JeremyM New York, United States | Straight Male | 5151 Posts | 9183 Points
( 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 | 561 Days Active
Join to learn more about Another Chance Michigan, United States | Straight Male | 7120 Posts | 12588 Points
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
LiveWire points are overrated; a currency for artificial respect.
A very funny read


5:54 am on May 8, 2008 | Joined Oct. 2004 | 416 Days Active
Join to learn more about JeremyM New York, United States | Straight Male | 5151 Posts | 9183 Points
( 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 | 561 Days Active
Join to learn more about Another Chance Michigan, United States | Straight Male | 7120 Posts | 12588 Points
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
LiveWire points are overrated; a currency for artificial respect.
A very funny read


5:43 am on May 9, 2008 | Joined Oct. 2004 | 416 Days Active
Join to learn more about JeremyM New York, United States | Straight Male | 5151 Posts | 9183 Points
( 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 | 561 Days Active
Join to learn more about Another Chance Michigan, United States | Straight Male | 7120 Posts | 12588 Points
rand0mguy


Professional
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 | 102 Days Active
Join to learn more about rand0mguy New Zealand | Straight Male | 859 Posts | 2428 Points
allsmiles


Visionary

Ad Free
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 | 270 Days Active
Join to learn more about allsmiles England, United Kingdom | Male | 5155 Posts | 9924 Points
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
LiveWire points are overrated; a currency for artificial respect.
A very funny read


6:12 am on May 12, 2008 | Joined Oct. 2004 | 416 Days Active
Join to learn more about JeremyM New York, United States | Straight Male | 5151 Posts | 9183 Points
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