DIV TAGS

It took me quite some time to get my layout back to what I had done with tables. My biggest problem was centering. Although I looked it up and got it right the first time, I forgot to refresh my browser, and spent hours trying things like centering text, justification, these were not helping!

What I needed to do: In my CSS style sheet I needed to add a margin-right: auto and a margin-let: auto tag to my <div> tags on my .css sheet.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.