473,327 Members | 2,016 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Position confusion - two troubles

25
I have been away from here for a while working long and hard on my site and am pleased to say the dawn broke and all suddenly went well. Almost.

The HTML and CSS are both validated (YEA!) but I have two buggies that have cropped up and I think they are position attribute conflicts of some sort. I just haven't been able to figure it out so I appeal to the big brains here again.

http://www.purplefriends.com/fouad/csstest.html - the page

http://www.purplefriends.com/fouad/csstest.html - the css

In FF, the image has decided to move south. It should be positioned next to the title heading. Other than that, all looks fine.

In IE, the image is positioned correctly BUT the tan box on the right is overlapping the banner. If I move it down, there's a gap in FF.

I did make it look right by playing with position attributes but ended up with my dropdown menu showing up in all kinds of weird places.

#ticketblock { background-color:#D7B076; width:205px; height:95px; margin:-21px 0px 0px 594px; position:relative; }

Changing the above position attribute makes the menu break in both browsers. But if I change it to static, it looks right in both browsers.

Any help for each of these problems would be gratefully appreciated!

Kathy
Oct 30 '06 #1
2 1170
skase98
25
Dang - shouldn't type while sleeping...

Here's the link to the stylesheet:
http://www.purplefriends.com/fouad/fsoedited.css

And no worries about the missing background images - I'm fixing that now!

Thank you for any help!

Kathy
Oct 30 '06 #2
skase98
25
I have discovered one interesting thing about my #topgroup but I'm not sure what it means.

Initially, I had #topgroup with a -343 top margin to place the content at the correct point on the page. The text portions have a top margin of 10, the image a top margin of 0.

Somehow, FF placed the text content in the correct place but left the image at 0 top margin overall - as if it is ignoring the -343 of #topgroup.

It looked like this:

#topgroup { font-family:Georgia, "Times New Roman", Times, serif; width:594px; padding:0; margin:-343px 0px 0px 0px; background-image:url(images/content_sm.jpg); position:relative; }
#topgroup h1 { font-size:1.8em; font-variant:small-caps; color:#000000; font-weight:bold; margin:0px 5px 10px 18px; text-align:left; }
#topgroup hr { color:#000000; margin:5px 5px 10px 8px; width:240x; position:relative; }
#topgroup img { float: right; padding: 5px 10px 5px 10px; margin: 0px 10px 5px 10px; position:relative; }

I changed the #topgroup top margin to 0, which placed all the content at the same level as the image.

When I changed both the top margins in h1 and img to -343, the image layered on top of the content. The text did not wrap around it as it did previously.

All this is very interesting but I just don't know what it means or how to make it work.

Thank you for any ideas!

Kathy
Oct 31 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: lmckaha | last post by:
Hi, Mysql version: 3.23.49 Solaris version: 2.7 gcc compiler version: 2.95.2 Python : 2.2.2 I'm evaluating the C and C++ API to decide which one to bye but I have many troubles.
3
by: tomi | last post by:
Hi I have following problem. I have a datatable filled with some data. Each row holds its ID (column named "Row_ID") DataTable dtTable; I have a datagrid to which I assign this datatable....
0
by: Michal | last post by:
I have troubles with instaling .Net Framework 2.0 (Beta 2 - 2.0.50215). The main instalation went just fine, troubles begin with my attemt to run aspnet_regiss.exe -i. Asp.Net is instaled into IIS...
14
by: Schraalhans Keukenmeester | last post by:
I am building a default sheet for my linux-related pages. Since many linux users still rely on/prefer viewing textmode and unstyled content I try to stick to the correct html tags to pertain good...
2
by: pierre | last post by:
Hello, I have a page with 2 divs : <div id="box_out" style="position: absolute; width: 600px; height: 500px; overflow: scroll; border: 1px solid #f00;"> <div id="box_in" style="position:...
8
by: merrittr | last post by:
I have been having troubles getting "string" input pushed on to the stack in the assn1. The funny thing is I can push a literal on no problem so push("push i 0"); push("push i 1");...
0
by: JohnIdol | last post by:
VC++6 to VC++2003 - linking troubles -------------------------------------------------------------------------------- Hi All, I successfully ported an application from VC++6 to VS2003. Solved...
1
by: Peter | last post by:
Hi I'm trying to call a C# Method from with VB.NET and am having all sorts of troubles as I'm new to Generics. The C# method (which I didn't develop) is as follows: /// <summary> ///...
2
by: GTalbot | last post by:
Hello fellow comp.infosystems.www.authoring.stylesheets colleagues, Imagine this situation: #grand-parent-abs-pos { height: 400px; position: absolute; width: 600px; }
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.