Jump to content

Cache Page Creation

Recommended Posts

I'm trying to create my first cache page, mainly from cribbing others and from the useful info here.


Other than asking if there are any other useful resources the other quick question I have is how to create a horizontal line. I've found the syntax:-


Text above line <hr color="green"> Text Below Line</hr>


However I don't seem to be able to change the colo(u)r e.g. by doing:-


<HR COLOR="purple"> Text </hr>


All I seem to get is that thin pale grey colo(u)r. I'm sure it's something really obvious to you HTML coders but I'm stuck. Thoughts ?

Edited by davemcwish
Link to post

To color the line you need to add an inline style: <hr style="color:green" />


BTW: There's no end-tag for <hr> so you just use it as is: <hr> or <hr /> in XHTML. (Thus text between <hr>some text</hr> is incorrect.)




Mr. Terratin

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...