Jump to content

Recommended Posts

I'm trying to revamp my site with some decent coding. Here's a sample page:
[a href=\"http://www.behindthechurch.com/lyrics/\" target=\"_blank\"]http://www.behindthechurch.com/lyrics/[/a]

What I want to know is, with CSS is it possible to remove the space above and below content in the <p></p>? Also, why is there space when I haven't specified a paragraph or line break?

Here's a primitive code example (bear in mind I haven't paid much attention to proper coding for a long, long time!)

[code]<IMG SRC="http://i4.photobucket.com/albums/y118/behindthechurch/albums/beautifulfreak_cover.gif" BORDER=1>
<H3><B>Beautiful Freak (1996)</B></H3></CENTER>
<H1><B>
<A HREF="">Novocaine For The Soul</A> -
<A HREF="">Susan's House</A> -
<A HREF="">Rags To Rags</A></B></H1>

<HR NOSHADE SIZE=1 WIDTH=97% /><BR>[/code]

And here's the sad little proto-coding I've been working with so far:

[code]body {background-image:url('images/background.jpg')}

p {line-height: 15px}

h1 {font-size: 8pt;font-family: arial;color: #000000;font-weight: normal}
h2 {font-size: 9pt;font-family: arial;color: #000000;font-weight: normal}
h3 {font-size: 11pt;font-family: arial;color: #000000;font-weight: normal}

a:link {color: #1A98D2}
a:visited {color: 1A98D2}
a:hover {color: 1A98D2}
a:active {color: 1A98D2}

td {padding: 10px}[/code]

I'm bumbling around right now, knocking things into place in any way that makes the site reflect what I have in mind. I'd like to do it up right, so any suggestions?
Link to comment
https://forums.phpfreaks.com/topic/4460-noob-paragraph-woes/
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.