This is a discussion on "[SOLVED] CSS border" within the Web Page Design section. This forum, and the thread "[SOLVED] CSS border are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] CSS border
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[SOLVED] CSS border
Hi all,
I have tried to search this forum for my question but get the message, seach string needs to be 4 charactors or above. Maybe this is due to the first word only containing 3 letters? www.usbtvtuner.co.uk I am trying to create a border around my 3 images on the left of the page like the borders around the images in the grey boxes. Can anyone advise on the code please? Also when I tried to resolve this matter before posting on the forum I noticed that the top grey box has width and height options within the index.html page wheres the second box does not. Also there is the option to change the width and height of the first box in the CSS which at the time appeared to be different to that on the index.html. Regards. John. |
|
|
|
#2
|
|||
|
|||
|
Re: CSS border
Just add the following around the image:
Cheers
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Last edited by Stuart; Jan 5th, 2008 at 13:25. |
|
#3
|
|||
|
|||
|
Re: CSS border
Thanks Stuart,
I presume I add the code above the following code? <img src="../tn/tn_encoder440.jpg" alt="Play" width="96" height="94" border="0" align="left"/>Lorem ipsum dolor When I changed the tumb statement the CSS disappeared around the organge boxes, any ideas? Regards. John. |
|
#4
|
|||
|
|||
|
Re: CSS border
Here is what you do:
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#5
|
|||
|
|||
|
Re: CSS border
Hi Jonathon
As stuart said in his above post in your html code it would look like this.
that should do it. Pat damn!, to slow again Last edited by dab42pat; Jan 5th, 2008 at 19:06. Reason: too slow |
|
#6
|
||||
|
||||
|
Re: CSS border
Just to let you know, the "align" attribute is depreciated in HTML.
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#7
|
|||
|
|||
|
Re: CSS border
Good point, Marc. So, do the following instead:
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#8
|
|||
|
|||
|
Re: CSS border
I think what jonathon has done is he has copied and pasted certain parts of his code as he now has 14 errors.
His page validated before he posted this thread. |
|
#9
|
|||
|
|||
|
Re: CSS border
Well, the code from my last post up there is valid, so if he uses that, there shouldn't be any errors.
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] border-radius | RZX Developer | Web Page Design | 19 | Dec 15th, 2007 23:32 |
| Border to a form | paddywhack | Web Page Design | 3 | Feb 7th, 2007 13:44 |
| Apache FOP Border | davedran | Other Programming Languages | 0 | Dec 18th, 2006 15:28 |
| Why only one border? | timmytots | Web Page Design | 1 | Nov 30th, 2005 21:32 |
| CSS Border Question! | freebirdnz | Web Page Design | 2 | Nov 23rd, 2004 17:51 |