Just practicing laying out a site without AP Divs (after paying £100 for a DVD which taught me this - ouch!).
Anyways, I have laid out a basic page, just a header, nav, main content and footer Div. As every Div is stacked on top of each other and it looks fine in browsers, do I need to include Floats and Clears? I’m just interested in the best practice really and to keep the code as clean/simple as possible.
I’m sure something is wrong with the CSS because the JQuery for the main content area is not displaying the images but is working fine otherwise. As you can see, they flash up on first load then disappear. I had a similar issue which Paul helped out with a while back with jQuery displaying correctly and that was down to the fact I had used AP Divs.
Also, is it possible the free ads which Godaddy run with free hosting causing a possible conflict with JScript?
A lot of people like jQuery. A vocal minority does not. I use it because I’m not a JS maven, and it enables me to incorporate some strong JS elements into my sites without having to know JS that well. Like anything that written “for the masses”, it’s not going to be perfect in the viewpoint of the experts and the standardistas. The debate reminds me of the howling in the typographical community over anti-aliasing.
Well I found the problem. I had left a space in the image folders file name (facepalm).
Yeah Its horrible crap that ad. I was only using it for testing but think I’ll look elsewhere for free hosting and see if it gets different results (will check over on hosting section).
As for jQuery, that’s the first I’ve heard it being talked down. I thought it was the way to go over Flash (from reading on here). Will keep your thoughts on board with this.
With the CSS, is it that there is some unnecessary stuff in there? I started out being told (not here) that AP Divs were good practice. Moved on from that thanks to this site, so any ideas for improving it would be very welcome.
It could be the automatically added crap from your host screwing with you… Though my advice would be to pitch jquery in the trash as fat bloated goofy effects in the first place… since I’m not even sure what it is you are trying to do with it, I’m just fairly well certain it’s not a good thing. (Not a fan)
Really, this crap they add to make sure everything is closed before their goof assed advert script:
As you are new I will let you off but you made a couple of etiquette errors on your first post and you really should have started your own thread rather than tag on the end of this. Secondly it is against the guidelines to request someone to contact you by email because the forums are for public consumption and not for personal use.
Regarding your question about using AP elements (we talk about elements and not divs) then you have heard correctly that overusing absolute positioning is bad because it creates a rigid and hard to maintain structure.
Once you remove an element form the flow by absolutely placing it then you have to control everything around it at all times. This leads to a structure that can’t be changed easily and can’t grow with content (unless you just have one element with everything stuck inside it).
Most of the time you want to let the page flow from one element to the next logically and without having to do much at all. This makes it easy to make changes and add content without having to change the structure.
Therefore you would use static positioning (the default) most of the time and then just make space with margins and padding as required. If you want horizontal alignment then you would use floats but remember to clear them to once again regain control of the flow of the page.
You can use absolute positioning in small doses where you may want to position something inside a fixed height container but usually you would not to absolutely position structural elements.
Absolute positioning isn’t bad it’s the people who use it incorrectly that are bad
i am a print graphic designer working in the States. i assume u are in the UK? ; )
anyways, i had a couple of basic questions regarding AP divs. after you worked with both AP DIVS and regular DIVS would you agree with the common consensus
that AP DIVS are “bad”? they have thus far worked fine for me and i find them much more intuitive to use then regular DIVS… at the firm i work at we do only print design (for HP), but are starting to move into web design for them. i really want to get a jump on web design but find it confusing. i took an intro to dreamweaver course and my professor was all about AP DIVS. Then i compared notes with co-workers who had taken other classes and they reported being told AP DIVS were NOT ideal. i saw your link to your basic site (looks good!). what would ur opinion be?
also, how did you do ur slideshow of art on your page?
thanx in adavance for your response,