Log in

View Full Version : Could you check my code please



theremotedr
01-19-2016, 08:14 PM
Here is the page in question http://www.theremotedoctor.co.uk/z.html

I have tried a few times the items below but get stuck along the way,if you could be so kind.

I have applied a blinking code for the "Any questions ask" text but does not blink.

styxlawyer
01-19-2016, 08:42 PM
Where are the <DOCTYPE>, <html>, </html>, <head>, </head>, <body> and </body> tags which are needed by an HTML page?

This link might help:

https://validator.w3.org/check?uri=http%3A%2F%2Fwww.theremotedoctor.co.uk%2Fz.html&charset=%28detect+automatically%29&doctype=Inline&group=0

theremotedr
01-19-2016, 09:22 PM
Please could you take another look,

Thanks

ajfmrf
01-19-2016, 10:12 PM
It sure blinks when I look at the page using firefox 44

theremotedr
01-19-2016, 10:34 PM
I have now done it.
Ive got to much code in it but it works.
Will need to sort out the redundant blinking code

coothead
01-20-2016, 12:11 AM
Hi there theremotedr,


on line 154 of your document, you will find this deprecated code...



<div align="center">

Surely you have been coding long enough to know that this is unacceptable. :D



cooothead

theremotedr
01-20-2016, 09:06 AM
Now corrected to what i think is correct.

<div align="middle">

Beverleyh
01-20-2016, 09:36 AM
When in doubt, Google is your friend: http://www.w3schools.com/tags/att_div_align.asp

Note the compatibility comment in red.

theremotedr
01-20-2016, 09:46 AM
I did use Google at first but must of been a pirated version.;)

<div style="text-align:center">

theremotedr
01-20-2016, 10:01 AM
I know the above is now wrong so looking again

theremotedr
01-20-2016, 10:20 AM
Having thoughts myself now over something as simple as this....
Is this correct ?

<div style="text-align:center"><img src="http://i670.photobucket.com/albums/vv62/ipbr21054/IVYLODGESALES/FORDCLONEDKEY.jpg" alt="ford fo21 key cloning service" height="480" width="640" class=imageshadow>

mlegg
01-20-2016, 02:03 PM
Yes that works. Why are you hosting your images on Photobucket instead of keeping them on the server your website is located on?
When someone goes to your site and it loads then the image has to be retrieved from Photobucket. I think it would be faster for you to put it on your server in a folder called img or images.
Then the code would be

<div style="text-align:center"><img src="images/IVYLODGESALES/FORDCLONEDKEY.jpg" alt="ford fo21 key cloning service" height="480" width="640" class=imageshadow>

I'm assuming the image name is IVYLODGESALES/FORDCLONEDKEY.jpg

theremotedr
01-21-2016, 11:05 AM
This is for one of my ebay accounts.
I put it into a HTML file to post here thern the code is copied to my ebay listing where it will stay.

My web site has its images stored in a folder on the server.