Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Horizontal align [SOLVED]

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #241010
    codehack
    Participant

    Hi,
    I am a bit new to css. I have a code –

    <div id="section8">
    <p>CINEMA</p>
    <a href="#">(enter)</a>
    </div>

    I want it to look like this.
    [url=http://postimg.org/image/65ijopm0h/][img=http://s32.postimg.org/65ijopm0h/css.jpg][/url]
    In css, I have tried whatever I can. followed website tricks but could not make it align horizontal with that dotted rule.

    Thanks in advance

    #241012
    Paulie_D
    Member

    We’d need to see the CSS….in a Codepen.io demo please especially since there is no “dotted rule” in the HTML….is it a border or something?

    Here’s my quick stab

    http://codepen.io/Paulie-D/pen/YqJWbv

    #241013
    codehack
    Participant

    I managed to align it as I wanted. Thank you for the reply.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.