Help - Search - Members - Calendar
Full Version: New to web design and need help
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
dsmith44
Hello
I am new to the site and Web Design in general. I can do basic stuff but I am having an issue with my companies website. The IT guy who built this site is no longer here and while I can update this page ( see attached ) as far as hours and such I now have the task of adding a new location.

When I insert it ( I copied the code of a existing site ) and pasted it I get a huge black spot. I can't see where to tell it to align left or right. Can someone look at the attached file and assist me.

to the site owners..... great site and lots of info on here thanks for the site.

it wont let me attached the file. here is a link to the website page I am having issues with.

http://foundationlaboratory.com/services.html

pandy
QUOTE(dsmith44 @ Mar 27 2017, 05:03 PM) *

The IT guy who built this site is no longer here


That's something to be grateful for, as far as your webpage is concerned anyway. This is an Office document converted to HTML. It's full of MS junk code. Your IT guy obviously wasn't a HTML guy. wink.gif

This is a table, so you need to add a whole new row. Assuming you want the new spots at the bottom, copy the last row from <TR> to </TR>. You can search for one of the names of the local offices in the last row to find it. Then make sure you find both the start and closing tags for TR and copy them and everything in-between. Make some blank rows before and after to isolate the block first so you see where it is easily. Then you paste it in directly after the block you copied.

Here is how it should look when you have pasted the new row in.

CODE


<!-- COPY THIS! -->

                                            
                                            <tr>
                                                <td height="201" pbzloc="4" style="border-bottom: white 1.5pt solid; border-left: white 1.5pt solid; padding-bottom: 6.75pt; padding-left: 6.75pt; width: 195.75pt; padding-right: 6.75pt; background: #ebfdfe; border-top: white 1.5pt solid; border-right: white 1.5pt solid; padding-top: 6.75pt" valign="top">
                                                <h3 pbzloc="2">
                                                <span pbzloc="16" style="font-family: times new roman,times,serif; font-size:18px">Wasco - PSC 156<br>
&nbsp;</span></h3>

                                                <p pbzloc="1061">
                                                <span pbzloc="284" style="font-family: times new roman,times,serif; font-size:16px">1217 7th St<br />
                                                Wasco, CA 93280</span></p>

                                                <p pbzloc="288">
                                                <span pbzloc="285" style="font-family: times new roman,times,serif; font-size:16px">Fri: 8:00 - 12:00</span><br />
                                                &nbsp;</p>

                                                <p pbzloc="641">
                                                <span pbzloc="287" style="font-family: times new roman,times,serif; font-size:16px">Tel: (661) 758-5500<br />
                                                Fax:</span></p>

                                                <p pbzloc="14">
                                                <span pbzloc="19" style="font-family: times new roman,times,serif; font-size:18px"><a href="https://www.google.com/maps/place/1217+7th+St,+Wasco,+CA+93280/@35.593811,-119.339656,17z/data=!3m1!4b1!4m2!3m1!1s0x80eafebbcc977583:0xfbfcfa8a06d97489?hl=en" pbzloc="119" target="_blank">Get Directions</a></span></p>
                                                </td>
                                                <td height="201" pbzloc="169" style="border-bottom: white 1.5pt solid; border-left: white 1.5pt solid; padding-bottom: 6.75pt; padding-left: 6.75pt; width: 195.75pt; padding-right: 6.75pt; background: #ebfdfe; border-top: white 1.5pt solid; border-right: white 1.5pt solid; padding-top: 6.75pt" valign="top">
                                                <h3 pbzloc="2">
                                                <span pbzloc="172" style="font-family: times new roman,times,serif; font-size:18px">West Covina - PSC 157</span></h3>

                                                <p pbzloc="1068">
                                                <span pbzloc="334" style="font-family: times new roman,times,serif; font-size:16px">1433 W Merced #115<br />
                                                West Covina, CA 91790</span></p>

                                                <p>
                                                <span pbzloc="75" style="font-family: times new roman,times,serif; font-size:16px">M-F 8:00 &ndash; 5:00<br />
                                                Sat: 8:00 - 12:00<br />
                                                Lunch: 1:00 &ndash; 2:00</span></p>

                                                <p>
                                                <span pbzloc="81" style="font-family: times new roman,times,serif; font-size:16px">Tel:&nbsp; (626) 960-2150<br />
                                                Fax:&nbsp;(626) 338-0135</span></p>

                                                <p pbzloc="10">
                                                <span pbzloc="5" style="font-family: times new roman,times,serif; font-size:18px"><a href="http://g.co/maps/csx6z" pbzloc="121" target="_blank">Get Directions</a></span></p>
                                                </td>
                                            </tr>





<!-- AND PASTE IT IN BELOW -->


                                            
                                            <tr>
                                                <td height="201" pbzloc="4" style="border-bottom: white 1.5pt solid; border-left: white 1.5pt solid; padding-bottom: 6.75pt; padding-left: 6.75pt; width: 195.75pt; padding-right: 6.75pt; background: #ebfdfe; border-top: white 1.5pt solid; border-right: white 1.5pt solid; padding-top: 6.75pt" valign="top">
                                                <h3 pbzloc="2">
                                                <span pbzloc="16" style="font-family: times new roman,times,serif; font-size:18px">Wasco - PSC 156<br>
&nbsp;</span></h3>

                                                <p pbzloc="1061">
                                                <span pbzloc="284" style="font-family: times new roman,times,serif; font-size:16px">1217 7th St<br />
                                                Wasco, CA 93280</span></p>

                                                <p pbzloc="288">
                                                <span pbzloc="285" style="font-family: times new roman,times,serif; font-size:16px">Fri: 8:00 - 12:00</span><br />
                                                &nbsp;</p>

                                                <p pbzloc="641">
                                                <span pbzloc="287" style="font-family: times new roman,times,serif; font-size:16px">Tel: (661) 758-5500<br />
                                                Fax:</span></p>

                                                <p pbzloc="14">
                                                <span pbzloc="19" style="font-family: times new roman,times,serif; font-size:18px"><a href="https://www.google.com/maps/place/1217+7th+St,+Wasco,+CA+93280/@35.593811,-119.339656,17z/data=!3m1!4b1!4m2!3m1!1s0x80eafebbcc977583:0xfbfcfa8a06d97489?hl=en" pbzloc="119" target="_blank">Get Directions</a></span></p>
                                                </td>
                                                <td height="201" pbzloc="169" style="border-bottom: white 1.5pt solid; border-left: white 1.5pt solid; padding-bottom: 6.75pt; padding-left: 6.75pt; width: 195.75pt; padding-right: 6.75pt; background: #ebfdfe; border-top: white 1.5pt solid; border-right: white 1.5pt solid; padding-top: 6.75pt" valign="top">
                                                <h3 pbzloc="2">
                                                <span pbzloc="172" style="font-family: times new roman,times,serif; font-size:18px">West Covina - PSC 157</span></h3>

                                                <p pbzloc="1068">
                                                <span pbzloc="334" style="font-family: times new roman,times,serif; font-size:16px">1433 W Merced #115<br />
                                                West Covina, CA 91790</span></p>

                                                <p>
                                                <span pbzloc="75" style="font-family: times new roman,times,serif; font-size:16px">M-F 8:00 &ndash; 5:00<br />
                                                Sat: 8:00 - 12:00<br />
                                                Lunch: 1:00 &ndash; 2:00</span></p>

                                                <p>
                                                <span pbzloc="81" style="font-family: times new roman,times,serif; font-size:16px">Tel:&nbsp; (626) 960-2150<br />
                                                Fax:&nbsp;(626) 338-0135</span></p>

                                                <p pbzloc="10">
                                                <span pbzloc="5" style="font-family: times new roman,times,serif; font-size:18px"><a href="http://g.co/maps/csx6z" pbzloc="121" target="_blank">Get Directions</a></span></p>
                                                </td>
                                            </tr>





Then you can edit the second instance.
pandy
Forgot to say, if you only want to add one new office, you still need to have both cells. Do as I described, but delete the content of the second cell, i.e. Everything between the start and closing tag for TD. Leave the start tag as it is, with all th attributes. Then the cell will be ready to fill with new content later.
dsmith44
QUOTE(pandy @ Mar 27 2017, 01:05 PM) *

Forgot to say, if you only want to add one new office, you still need to have both cells. Do as I described, but delete the content of the second cell, i.e. Everything between the start and closing tag for TD. Leave the start tag as it is, with all th attributes. Then the cell will be ready to fill with new content later.



Thank you for your help. This worked like a charm.
pandy
Good. smile.gif

And good you quoted me. My post seems to have disappeared. laugh.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.