Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

CSS positioning & dimensions (?)

Original Message
Name: Kthrn
Date: July 7, 2006 at 21:07:26 Pacific
Subject: CSS positioning & dimensions (?)
OS: Windows XP Home SP2; Ubun
CPU/Ram: 2.21 GHz Athlon 64 3500+
Model/Manufacturer: Custom
Comment:
Hi,

Let me start off by saying that I don't have a really firm grasp on using HTML, CSS, or Javascript to create webpages; everything I've learned has been self-taught and is consequently haphazard. I'm sure I'm missing a lot.

That said, I've run into some problems while creating my mom's photography site: imagesbyjas.com. I know what I've written there could at best be called "spaghetti code," so please don't be too harsh, but do be honest about any faults you find. I just want to learn.

My first problem has to do with the positioning of the picture on the index page. How can I move it over more to the right, and how can I make a border around it?

Second problem: how can I make the navigation box at the top be wider, so that when you rollover "artist biography" it doesn't spill over into the next line and stretch the whole page?

Third problem: why doesn't the link to the artist biography display the bottom navigation correctly, with the top and bottom borders?

Other problems I know I need to work on: it probably doesn't validate, and I need to find a better way to create space than a bunch of breaks.

If you could please view the source for these two pages and let me know what I'm doing wrong, I would really appreciate it. I'm sorry if I'm not using the correct terminology for these problems, but I hope you can still understand what I'm saying. There's probably really simple solutions, too.

Thanks for any and all help.


Report Offensive Message For Removal


Response Number 1
Name: Michael J (by mjdamato)
Date: July 7, 2006 at 21:47:09 Pacific
Subject: CSS positioning & dimensions (?)
Reply: (edit)
Replace [] with <>. Add the code in blue where shown and change the red values as desired:

1) Put a left margin on the image and put a border around it:
[img src="regional001.gif" align="left" width="210px" height="300px" style="margin-left:10px,border:1px solid #000000;">

2) Increase the width of the "Menu" box:
[div class="menuitem" style="width:150px;white-space:nowrap;"]

3) The bottom menu on the home page is included within a div with the class of "footer" - need to do the same on the bio page.

Michael J


Report Offensive Follow Up For Removal

Response Number 2
Name: Kthrn
Date: July 7, 2006 at 22:30:37 Pacific
Subject: CSS positioning & dimensions (?)
Reply: (edit)
Thanks for your help. I knew they would be painfully obvious things.

I'm still stuck on that index photo for some reason. This is what's there: [img src="regional001.gif" align="left" width="210px" height="300px" style="margin-left:10px,border:1px solid #660000;"]

What am I doing wrong?


Report Offensive Follow Up For Removal

Response Number 3
Name: Michael J (by mjdamato)
Date: July 8, 2006 at 01:06:12 Pacific
Subject: CSS positioning & dimensions (?)
Reply: (edit)
My fault. There needs to be a semicolon between the two properties in the stylve value - not a comma. Like this:

[img src="regional001.gif" align="left" width="210px" height="300px" style="margin-left:10px;border:1px solid #660000;"]

Michael J


Report Offensive Follow Up For Removal




Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: CSS positioning & dimensions (?)

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




DSHUB24 Connection Problems

need help with dsl and dial up

novel 3.12

help mandriva install last straw!

Icon Scaling in Explorer Bar


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC