LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 810 users online 223887 members 1402 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Eye Of The Storm
Cool Things: flames
Mood: Angry
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
7 online / 33 MPM
Fresh Topics
  LiveWire / Technical Forums / Web Design & Search Engine Optimization / Adding Reply

Quoting Post
Archived Topic: It will not be bumped to the top of the forum.
Topic CSS Issue. Help
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
Another Chance Posted at 10:29 pm on May 4, 2008
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?

Replies
JeremyM Posted at 6:12 am on May 12, 2008
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.  

allsmiles Posted at 2:52 am on May 12, 2008
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.
rand0mguy Posted at 9:47 pm on May 10, 2008
Code:
#table_id{margin:0;}
why u using tables? it better be tabular data
Another Chance Posted at 11:26 pm on May 9, 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.
JeremyM Posted at 5:43 am on May 9, 2008
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.

Another Chance Posted at 11:02 am on May 8, 2008
It's center. I'll try that.
JeremyM Posted at 5:54 am on May 8, 2008
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?

Another Chance Posted at 7: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.

JeremyM Posted at 6:20 pm on May 7, 2008
Ha, layers are soon to be THE web standard, my man.
Another Chance Posted at 2:55 pm on May 7, 2008
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.

JeremyM Posted 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?

beautiful flame Posted at 10:37 pm on May 4, 2008
What are you talking about?
All 12 previous replies displayed.