473,503 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Riddle me this...(divs playing tricks on me!)

1 New Member
hey,
well im having a strange problem with a site im creating, the divs dont seem to be working properly (or something) kinda hard to explain, so here is the site.

http://www.jammedia.com.au/SVW/businessdirectory.html

ive shown the problem with a border around one of the divs, and if you look at the code it seems as though the div style is applying it to the h3 of another div aswell instead of just the single div. and not styling the h3 of the div i want it to.
(that probably made no sense, but right now im kinda confused myself!)
basically i want the border for 'information centres' to go above the h3 of 'information centre's' and not 'accomodation'

what is happening????? is this CSS related or is it something in the HTML??

again, im sure its the most simplest of problems, but i just cant see it!

any help is much appreciated.

css:
http://www.jammedia.com.au/SVW/css/SVW_css_main.css
Sep 3 '07 #1
1 1149
drhowarddrfine
7,435 Recognized Expert Expert
Two things. Your doctype is incomplete and puts IE into 'quirks mode'. See the article above under Articles about doctypes. Second, you have far, far too many divs than needed. We call this a case of 'divitis'. Most of them are not needed. But due to that, at this time of morning, it's difficult to track what goes where.
Sep 3 '07 #2

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

Similar topics

1
1359
by: effendi | last post by:
Hi everyone, I am relatively new to JS and I am hoping someone could tell me what this line of codes mean. This was written by some brilliant guys at webfx and I am trying to understand some of...
4
953
by: web1110 | last post by:
This Console.WriteLine(@"sl={0}", sl); causes a syntax error. How do I include the quote (") in a verbatum string? Leave off the @ and backslash the quotes?
0
1300
by: Shapper | last post by:
Hello, I have this code in Global.asax: Sub Session_Start(Sender As Object, E As EventArgs) Dim cookie As HttpCookie = Request.Cookies("MyCookie") If Not cookie Is Nothing Then...
0
1407
by: Alan Silver | last post by:
Hello, Sorry for the long post, but I want to try and explain it clearly... I'm using webparts for (possibly) an unusual scenario, and I'm having problems. This could be because I'm doing...
3
1076
by: Paul Watt | last post by:
Hi, I've done a really simple layout. http://www.paulwatt.info/test/turn/layout.html Why is there a gap between the top two Divs? http://www.paulwatt.info/test/turn/Tlayout.css Cheers guys...
4
1887
by: _Raven | last post by:
Okay, I am playing with submitting forms with Ajax. I am trying to adapt this script to my forms: http://www.captain.at/howto-ajax-form-post-get.php I have included my code at the bottom of this...
1
1603
by: omid1980 | last post by:
hi I have an examination and i shuld answer this question please help me. Explain the advantages of using XML with a database for ecommerce sites?
0
1283
by: [Cool staff!||Hi! I think this need for || Help me | last post by:
http://con-cern.org/files/2007/5/xenical-21024312.html cheap xenical http://con-cern.org/files/2007/5/auto-21024411.html auto loan refinance ...
19
1939
by: mohammaditraders | last post by:
a program which consists of a class named Student, the class should consists of three data members Name, Ob_marks, Total_marks and two member functions Cal_percentage() which calculate the...
0
7070
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7267
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6976
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
372
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.