Jump to content

Recommended Posts

i mean... this

 

 

<img class="narrowscroll-top" src="pics/scroll457_top.gif" alt="" width="466" height="50">

<div class="margin: auto narrowscroll-bg">

<div class="margin: auto narrowscroll-bgimg">

<div class="margin: auto narrowscroll-content">

<dl class="news-scroll">

Link to comment
https://forums.phpfreaks.com/topic/68632-how-to-center-this/#findComment-345033
Share on other sites

No, the first one with only the class names was right. You have to define the class, and then in your CSS you have the margin: auto; definition. Have you ever used classes and styles before? If not, then you probably should go get a book from the library, or go to http://www.w3schools.org/. Remember, patience is a virtue. ;)

Link to comment
https://forums.phpfreaks.com/topic/68632-how-to-center-this/#findComment-345236
Share on other sites

TheFilmGod's advice wasn't spam, and try to be somewhat grateful. Looking at your code, it looks like you need to sit down with a few tutorials, or just go look at some site's HTML/CSS source. My suggestion would be, if you want to play around with CSS, get some development tools that let you actively edit your page, something like Firebug for Firefox.

Link to comment
https://forums.phpfreaks.com/topic/68632-how-to-center-this/#findComment-345287
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.