On Par
(912 posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 05:57 PM
Original message |
|
If you wanted to place two 3 line addresses centered side-by-side, rather than one beneath the other, what html would you need to place to make that happen?
|
evlbstrd
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 05:59 PM
Response to Original message |
1. You could use a table of 1 row and 3 columns |
On Par
(912 posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:02 PM
Response to Reply #1 |
3. Could You Show Me The HTML Needed? |
|
I don't have the knowledge to write that.
|
XemaSab
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:04 PM
Original message |
|
<TABLE>
<TR>
<TD>
address 1
<TD>
address 2
<TD>
address 3
</tr>
</table>
|
Kellanved
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:01 PM
Response to Original message |
|
Edited on Fri Oct-28-05 06:05 PM by Kellanved
... <table> <tr> <td> address1 </td> <td> address2 </td> <td> address3 </td> </tr> </table> ...
Actually I would use CSS, but the table is easier.
ON Edit: use <br/> to brake a line inside a cell/address.
|
ChoralScholar
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:04 PM
Response to Reply #2 |
5. aaaah.. you beat me to it!!! |
ChoralScholar
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:03 PM
Response to Original message |
|
<center><table> <tr> <td>Name 1 <br>Address 1 <br>City 1, State 1, ZIP 1</td>
<td>Name 2 <br>Address 2 <br>City 2, State 2, ZIP 2</td> </tr> </table></center>
|
XemaSab
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:05 PM
Response to Reply #4 |
|
you included the break tags to format the address within the cell. :P
|
Ptah
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:05 PM
Response to Original message |
|
<center> <table> <tr> <td>name one</td><td>name 2</td> </tr> <tr> <td>street one</td><td>street 2</td> </tr> <tr> <td>city,state one</td><td>city,state 2</td> </tr> </table> </center>
:shrug:
|
evlbstrd
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:09 PM
Response to Original message |
8. OK, who can do it with CSS? |
no name no slogan
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:13 PM
Response to Reply #8 |
|
Edited on Fri Oct-28-05 06:16 PM by no name no slogan
Make two divs of relative width (50% each works), and relative positioning. Float one to the left, float the other to the right.
It can be done, with a little trial and error :)
ON EDIT: It should look something like this (using inline style attributes for each div)
<div id="address1" style="width:50%;position:relative;padding:10px; text-align:left;float:left;"> Name<br /> Address Line 1<br /> Address Line 2<br /> City State Postcode </div>
<div id="address2" style="width:50%;position:relative;padding:10px;text-align:left;float:right"> Name<br /> Address Line 1<br /> Address Line 2<br /> City State Postcode<br /> </div>
|
ghostsofgiants
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:15 PM
Response to Reply #9 |
10. I need to learn fucking css... |
no name no slogan
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:19 PM
Response to Reply #10 |
12. "Trial by fire" is the only way |
|
I had to learn it back in 2000 for a class I taught at a community college. It came in handy, and actually helped me land a subsequent job. I redid a 100-page site with it, using XHTML and CSS for 90% of the positioning, with all the pages validating with the W3C Validators, with most pages level AA accessible, too.
If I didn't have to learn it in 48 hours, I never would have touched it. But once you start using it, and seeing how much easier it is than using transparent gifs and tables, you never go back.
|
ghostsofgiants
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:21 PM
Response to Reply #12 |
13. I've played around with it a little... |
|
But haven't forced myself to really get into it. I want to redo my site with XHTML and CSS, I just need motivation, haha.
|
no name no slogan
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:29 PM
Response to Reply #13 |
15. One of the best uses of CSS I've seen |
|
www.glish.com.
He does a whole bunch of really complicated layouts-- three- and four-column, with and without headers and footers, all cross-browser and all CSS. Absolutely amazing.
|
ghostsofgiants
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:32 PM
Response to Reply #15 |
16. Cool, I'll check taht out... |
|
Omphaloskepsis (you might have seen him posting around here) has a bunch of CSS links on his del.icio.us page as well, I just need the motivation, haha.
|
Omphaloskepsis
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:57 PM
Response to Reply #16 |
BikeWriter
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 08:39 PM
Response to Reply #10 |
21. I used CSS on some of my forums. It's fascinating to learn. |
evlbstrd
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:16 PM
Response to Reply #9 |
|
I'm just learning Dreamweaver. I used to use GoLive, and used too many tables. CSS seems to be a much more efficient method.
|
no name no slogan
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:23 PM
Response to Reply #11 |
|
I got hooked on it back in 2000, when I was teaching a web dev class. Back then it was still fairly primative, and browser support was crap, to say the least. At least Netscape Navigator 4 has all but died a death now, since the CSS support in it was crap.
I still do all my sites by hand, doing mock-ups in Dreamweaver and coding everything in either HomeSite or BBEdit (depending on the platform). I mainly do it that way because 1) I'm a total code control freak, and 2) I find that my code is leaner and easier to read than that generated by WYSIWYG tools, and 3) It's easier to to server-side languages (like PHP, ASP and .Net) by hand, as most WYSIWYG tools mangle it.
CSS has the added benefit of making your code more modular, too, which really comes in handy if you migrate your site to a content management system. I've redone a couple sites like this (and am working on a 11,000+ page site right now) and it really does make things much easier to change around and update.
Good luck with Dreamweaver! I used to teach classes in it (back in v.3) and it's still the best WYSIWYG tool out there, IMHO.
|
evlbstrd
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:52 PM
Response to Reply #14 |
18. Some of the work I'm looking at doing involves server side. |
|
As well as content management. I'm not so much of a codehead, myself. But Dreamweaver 8 seems to be an excellent tool. I'm aleady learning a ton.
|
On Par
(912 posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 06:46 PM
Response to Original message |
17. Thanks Everyone. You're Not Only HTML Great, You're Entertaining! |
Ptah
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Oct-28-05 07:58 PM
Response to Reply #17 |
20. Glad to offer my suggestion. |
|
I hope you found what you needed.
:hi:
|
DU
AdBot (1000+ posts) |
Sun Jun 16th 2024, 08:34 AM
Response to Original message |