HTML help needed (Full Version)

All Forums >> [Casual Banter] >> Polls and Other Random Stupidity



Message


ServicenPleasure -> HTML help needed (12/30/2009 10:03:54 AM)

what did i do wrong with this code? i can't get the picture to show up on the right side of the table. HELP!

<table width="800" height="600">
<tr>
<td colspan="2" height="125" bgcolor="#FFFFFF">
<font size="200" face="impact" color="#1E90FF7"><center>Team D</center></td>
</tr>

<tr>
<td height="435" width="150"</td>


<table width="145" height="470">
<tr>
<td height="100" width="160"> http://www.everest.edu Our School</td>
</tr>
<tr>
<td height="100" width="160">Our Team</td>
</tr>
<tr>
<td height="100" width="160">another page here</td>
</tr>

<td height="475" width="650">
<img src="C:/Users/Maranda/Desktop/website unzipped/Everest.jpg" height="470" width="645"/>
</td>
</tr>
</table>




sappatoti -> RE: HTML help needed (12/30/2009 11:12:27 AM)

To immediately solve the right justification problem, insert the align=right modifier. My tests with this do make the image right justify, but from all appearances it may not look like it.

To give the page the visual appearance, the table that holds the image must be expanded to larger than at least 675 px. At present the horizontal image size is 645 px so trying to right justify a mere 25 px is not noticeable. My tests with the table width at being 800 px along with including the align=right modifer does move the image to the right side of the table.

Having stated that, if I may offer some advice. Care needs to be taken with making sure the tags are properly closed. In the HTML source provided in the OP, some of the tags are missing their closing tags which can bring about unexpected results when rendering the page in a browser. I also noticed some <tr> tags that don't appear to do anything but since the example appears to be a classroom exercise, those extra tags may be required.




ServicenPleasure -> RE: HTML help needed (1/1/2010 7:54:39 AM)

Sappa,
where have you been? i tryed to contact you but you keep disappearing on me. write me on CM. for safty reasons i can't come out and say my name. btw, thank you.




fluffypet61 -> RE: HTML help needed (1/1/2010 8:09:30 AM)

ServicenPleasure - to contact sappa from his message above - click on the "PM" (Send Private Message) button under his avatar (where is says "Hide" "Profile" "PM")




wandersalone -> RE: HTML help needed (1/1/2010 12:39:36 PM)

quote:

ORIGINAL: ServicenPleasure

Sappa,
where have you been? i tryed to contact you but you keep disappearing on me. write me on CM. for safty reasons i can't come out and say my name. btw, thank you.


If you have concerns about your safety it isn't a good idea to have a journal entry which gives so much information about you.

I wish you peace in 2010.

ps.  Sappa, I didn't understand a single word you said but damn it sounded hot.




ServicenPleasure -> RE: HTML help needed (1/1/2010 7:58:26 PM)

did some changes and the darned picture still isn't showing up.

<center>
<table width="800" height="600">
<tr>
<td colspan="2" height="125" bgcolor="#FFFFFF">
<font size="200" face="impact" color="#1E90FF7"><center>Team D</center></td>
</tr>

<tr>
<td height="435" width="150"</td>


<table width="145" height="470">
<tr>
<td height="100" width="160"> http://www.everest.edu Our School</td>
</tr>
<tr>
<td height="100" width="160">Our Team</td>
</tr>
<tr>
<td height="100" width="160">another page here</td>
</tr>
</table>
<table height="475" width="675">
<tr> <align="right">
<img src="C:/Users/Maranda/Desktop/website unzipped/Everest.jpg" height="470" width="650"/>
</right>
</td>
</tr>
</table>

do i need the paragraph tag closed and then reopened at the pictures table or the line break tag?




MistressHolly71 -> RE: HTML help needed (1/1/2010 8:20:39 PM)

I think the problem is here.
<img src="C:/Users/Maranda/Desktop/website unzipped/Everest.jpg" height="470" width="650"/>
If you're doing this online, you probably need to upload the image to the server & change it to something like <img src="/pictures/Everest.jpg" height="470" width="650"/>

If you're doing it on the computer that the image is store on, then I think it needs to be <img src="C:\Users\Maranda\Desktop\website unzipped\Everest.jpg" height="470" width="650"/>. It's been several years since I've used Windows do I'm not sure on that part.




CalifChick -> RE: HTML help needed (1/1/2010 8:30:48 PM)

Is everything except the image showing up?



<center>
<table width="800" height="600">
<tr>
<td colspan="2" height="125" bgcolor="#FFFFFF">
<font size="200" face="impact" color="#1E90FF7"><center>Team D</center></td>
</tr>

<tr>
<td height="435" width="150"</td>    <--- you are missing the right bracket to enclose the td tag


<table width="145" height="470">
<tr>
<td height="100" width="160"> http://www.everest.edu Our School</td>
</tr>
<tr>
<td height="100" width="160">Our Team</td>
</tr>
<tr>
<td height="100" width="160">another page here</td>
</tr>
</table>
<table height="475" width="675">
<tr> <align="right">
<img src="C:/Users/Maranda/Desktop/website unzipped/Everest.jpg" height="470" width="650"/>  <-- you have no alt attribute (if you can see the alt, then you have narrowed down the problem)

Edited after reading Mistress Holly's answer... the image source does seem to be problematic, and if she puts in the alt attribute, and it shows the alt instead of the image, then we know the image is the problem.

Right?  I haven't done this in a long time.

Cali




ServicenPleasure -> RE: HTML help needed (1/2/2010 7:32:48 AM)

well, i got the picture, but now i can't get the right align to work. i think i'm going to go look on w3schools. lol, thanks for everyones help.




CalifChick -> RE: HTML help needed (1/2/2010 4:33:19 PM)

The ALIGN goes inside the image tag, not before it.  I believe it should go last before the closing bracket.

<img src="C:\Users\Maranda\Desktop\website unzipped\Everest.jpg" height="470" width="650" ALIGN=RIGHT/>




Page: [1]

Valid CSS!




Collarchat.com © 2025
Terms of Service Privacy Policy Spam Policy
0.03125