Helping ordinary people create extraordinary websites!

Go Back   Web Development Forum > Website Designing > HTML/CSS
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 01-24-2008, 04:11 AM
Junior Member
 
Join Date: Jan 2008
Posts: 17
Thumbs up solution to mouseovers not working

I'm sooo pleased I've found the problem to my popups and mouseovers not working! It was the following:

</style>
<script language="JavaScript" type="text/JavaScript">
<!--function mmLoadMenus() {

the 'function mmLoadMenus() {' needed to be on the next line thats all!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 01-24-2008, 11:45 PM
ryanhellyer's Avatar
Super Moderator
 
Join Date: Dec 2007
Posts: 685
Default

Yep, you hit the nail on the head there. The best way to avoid these problems is not to use any of the options in Dreamweaver and just use it as a simple text editor. I'll post back in an hour or so with some advice on where to go from here - I'm a little busy right now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 01-26-2008, 04:09 AM
ryanhellyer's Avatar
Super Moderator
 
Join Date: Dec 2007
Posts: 685
Default

Sorry about the delay in replying, I hadn't forgotten!

I was trying to think of a good explanation how to learn how to position elements on a page but I can't think of one. The best I can come up with is to suggest you learn the differences between block and inline elements and how floating works.

Block elements are things which usually have a set width and height and can be positioned on the screen. Inline elements behave like characters in a line of text. IMG tags are an example of an inline element, if you add one in the middle of a sentence it will behave like a character (albeit usually a large one). If you make an IMG tag display as a block element by adding the following to your CSS:
Code:
IMG {display:block;}
The image will not display inline anymore and will behave like a rectangular block which can be positioned on screen.

When you float something, it automatically becomes a block element. Elements which are floated DO render in the flow of the page. For example, the absolutely positioned elements you are using at the moment do not flow with the page. If a box overflows, the box below it will not drop down to accommodate it. With floats, the boxes below WILL move to accommodate the other box. I won't go into the details of how and what floats are beyond this, but I suggest finding some tutorials on the subject of floating as it is an imperative skill to learn for web design as their behaviour affects how you create pages in a fundamental way.


Hopefully that has been of some help. Explaining these concepts in a single forum post is tricky (impossible?) and most people need quite a lot of practice before they get to grips with these concepts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 01-26-2008, 12:28 PM
Junior Member
 
Join Date: Jan 2008
Posts: 17
Thumbs up solving a text positioning problem

Once again I cant thank you enough for your time on this especially as youre very busy....

I had yet another eureka moment with my site ( I do love those!) though in solving a problem it sometimes serves to highlight ones incompetences too

Forgive me for using dreamweaver speak here..its all I know at the moment!

Instead of using the verdana set of fonts I changed to the arial set and straight away it made a difference in IE as the text was no longer spilling out of the layer boxes. I also used the 'paragraph' formatting option which aligned the text when two paragraphs were side by side (previously they were like two detracting magnets) I have kept the absolute positioning on all the layers as changing it didnt solve the immediate problem. I know that I have a lot more to do in understanding why all these changes have worked and also for the visually impaired for example using larger fonts would cause the same issues to occur, but for now it looks much more presentable. I will learn about floats though as you suggest...

Just finishing the nav bar now and then I desperately need to use a pre-loader!
Cheers Ryan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 05-07-2009, 06:10 AM
Junior Member
 
Join Date: May 2009
Location: http://www.underlink.co.uk
Posts: 24
Default

Im afraid that compantability throughout browers is an everlasting developers struggle. key is i find is to check your design in the 3 most used browers through your whole development process that way you aviode having to desmatel your site when you have finished to make it browser compatable
__________________
UnderLink UK Site Design & Developemnt UnderLink
Cheap Affordable Web Design CMS, Logo Design and more...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 05-15-2009, 12:16 PM
Junior Member
 
Join Date: May 2009
Posts: 18
Default

dont do absolute because it wont be the browser that changes it but the viewers screen resolution as well. Use css and float everything left then put it all together like a tetras game best way to think of it.
__________________
Come and experience the future of online marketing and advertising. You can upload all your business ads videos and all for free and reach new customers using the power of the net.


http://www.adwido.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 07:38 AM.


Website Design by Ducani Media Group
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.