Everything posted by photontorpedo
-
Are there Alternatives for this background situation?
Hi, happy new year, well I hope it is anyway for all of you out there. I have two images created in photoshop CS3. One is a gradated colour, the other some scanned feathers. They are both PNG24 for transparency. (originally one image but I seperated them into the feathers and gradated colour) I have at the moment this website (offline) see image: I have the following code in CSS and HTML: Everything is going quite well now, but the subject of background images on the body and html element is proving to be a headache, and out of ten books that I have sourced not one book addresses this issue of exactly how to do this sort of thing, also they do not even seem to bother dealing with re-sizing the background image and how to best size it so that in general ALL browsers will see a reasonable image?!?! Chris Coyier on CSS-Tricks is the ONLY website that I have found that even bothers to tackle what must be a very common issue for most people and I find this so amazing. He has a code for re-sizeable background images, one with java and one using css only but I can not get it to work for me at this moment, but I will sort that out myself. Anyway my question is two fold: =========X H T M L doc============ <style type="text/css"> html {background: url(images/warminv.png) no-repeat center top} These are the FEATHERS </style> </head> ========C S S (external)=============== * {margin: 0; padding: 0;} body {font-family: georgia, serif; background-color: ; background-image: url(images/warminvgrad.png); background-repeat: no-repeat; background-position:;} This the gradated colour. Question 1 == I have achieved opacity by letting the colours go through the feathers on the website. I can not use the 'RGBa" tag or opacity tag, does not work obviously, because there are no rgb values that can be specified here. What i would like to know is if there is a better way to achieve this, for example I could not set both images in the body, if you can then please tell me how. Question 2 == Also is there a way to set the feathers so that they appear as a full (not cut off) image in ALL browsers. Setting height and width to 100% doe snot work at all, in order to have a re-sizeable background image. I would have liked to have this website load as a complete entity WITHOUT scroll Bars on the first page only. I do not know how to do this. Thankyou very much if anyone takes the time to help me move forward from here, so I can move past this background image problem.
-
Photoshop to Web
Well I watched CS3 for the web and if you go 3/4 way down you will find all about slicing. but maybe I am unclear as to exactly what you are looking for. But to get from the design in CS3, which i am actually doing now this CS3 for the web got me off the ground. Just go to the section on slicing. Better still, watch the videos on CSS tricks, there are three of them and they will give you exactly what you are looking for i believe becsuse they have helped me to go from photoshop to the actual web page in 24 hours. as opposed to the last 6 weeks struggling with blasted manuals and web references. the slicing is not good for html, but it gives you an extra tool. The videos on css tricks though, they are very good for getting you from CS3/4 to the web, he does absolutely no slicing and codes it himself, but his methods and teaching is very visual and practical. Sorry I can not be of any further help but I am a newbie - only been at this whole css html for 8 weeks.
-
Photoshop CS3 and Slices
Yes, you are probably right there. i do not want to regress into something that is ill-advised. however creating the website in photoshop is proving to be the answer for me. I can switch layers on and off and know exactly how the div containers should flow and how to write the html. trying to do all designing from a piece of paper was a nightmare.
-
Photoshop CS3 and Slices
Thnakyou for those tips and advice. I do not have image ready in Creative suiteCS3, it does not ship with it. It stopped back in CS2. they have device central but no clue what that is at all.
-
Photoshop to Web
Yep absolutely. Lynda.com is excellent and professional. You can view the first several videos free, after that there is a paid subscriptition monthly or yearly - very very reasonable for what you get on there. Also you could try CSS Tricks.com, excellent resources but go to video section, it is all free and there is much more. regards Chris
-
Photoshop CS3 and Slices
Hi I have just watched a Lynda tutorial on Photoshop and Slices. However I was disturbed by the fact that throughout the video demonstartion she was constantly referring to how CS3 will generate ... html table... This defeats the purpose of CSS and the idea that tables have basically gone now. So does that mean that designing with slices should no longer be done? Unfortunatley I was unable to see her final product in HTML.
-
Hia forum :)
Hi, amd welcome. hope you find everything here helpful, and success with everything
-
HTML dog book failed to answer my question Grrrrrr
ok I'm actually dumb here, I thought that I was already setting the image in the html through the <a href etc. Do you mean that I should define the image in the html document completely? I really, actually no, please can you just show me the codes for putting it in the html, and then how i should do it in css. I am so brain drained with searching for references then always getting something wrong. It is tiring. Basically I have the background design with a special little place for my navlinks. All designed in CS3. I want the design to well fit as many browsers as possible, in the sense that when it is loaded they will see the complete page without the need to scroll. The navlinks will then line up (somehow) on the same place where that part of the design in cs3 has been well specially designed. I chose to experiment down this road because you can not design with css. Navlinks are just boring things and I like to make them look visually exciting. If any of this approach is faulty please let me know.
-
Has anybody else ever seen this?
Well, the the human brain interprets information based upon experience and conceptualizing agreed experiences. In other words when a book fails to communicate accurate information based upon the pre-sumption of the obvious what the writer thinks is obvious then the reader fills in, subconsciously, the absent information to arrive at a wrong conclusion.
-
HTML dog book failed to answer my question Grrrrrr
Nope, sorry, none of that works. I don't understand why you can not set all this in the BODY, anyway i fiddled a bit with settings and nothing works. Basically, you make a background at a certain height and take pot luck as to who can fit it on their screen? Or you set say a common dimension such as 1024x768 (too small width for my screen)and then add parameters that tell the webpage to fit on other browsers automatically? The book I have does not mention this at all, which is pretty disgusting really when you think this should be one of the FIRST situations tackled in any book!!!!!!!!!!!
-
HTML dog book failed to answer my question Grrrrrr
Yeh, well ok, books!!!! Ok I have a really nice design which I designed myself in CS3, I measured the design to be exactly 1024 by 768 pixels. But obviously this did not fit my screen completely so I re-did it as 1440 x 900 and inserted this as: body { background: url(lyonstea2.jpg) no-repeat scroll center top; width: 100%; length ??? auto? margin: 0 auto; padding: 0; } Problem I am having apart from the fact this is too long for my screen and I do NOT want it to scroll, is how do I specify it to fit on any screen initially when it is loaded. The full page that is? I tried height 100% but that does not work. I rumaged through HTML Dog and he completely fails to address this issue because he only talks about background image fixed and scroll and the usual stuff. he does not cover this basic topic at all - which surprised me. How do you insure that the web page is loaded and then fits onto most screens of today, including my own, I have tried adjusting the length to all sorts but nothing works. When I put in a length I only get a scroll bar anyway for the width Ugh?? So no matter how ptrecise I measure the height of my background image it never fits, so I know there is a secret to this which HTML Dog wants to keep for himself. grateful for the answer please.
-
Has anybody else ever seen this?
I invented it myself. Thought that only the < and the ! and the > was actually required. thought I could stick in anything in between. Whoops.
-
Has anybody else ever seen this?
User comments in the xhtml doc. I could not understand why my closing divs all over the place were changing colour randomly as if they were incorrect (shown in my texteditor pagespinner as black, if correct then they remain brown). Anyway to cut a long story short which in my case always seems to be a long story, it turns out that my comment tag ie: <!===navlinks closed===> were the problem! So after one day I had a lightening strike in my head, I decided to change them to <!---navlinks closed--->. Hey presto all my divs changed back to that lovely warm exciting brown colour again!! Any comments? Or is this another phototorpedo curiosity?
-
CSS/XHTML Resources
Ok you have the url. But aactually firbug is a lot different from this. Admittedly looking like it does the same things, but with this you can actually edit anyones css live and see immediate effects. In firebug for example you can only toggle settings on and off. regards
-
CSS/XHTML Resources
Actually I have not checked for myself BUT I did read that the team have made a similar product availbale for Safari users, they might have also for IE users I do not know. But also check out firebug which do have an option for sfari users.
-
CSS/XHTML Resources
Hi, well I found this site from a lynda.com instuctor who is a professor at illinois university, a web designer and an expert it seems at many of the codes that I will never know about. So it came very highly recommended. It does a thousand times more than just looking at code, it can break it into its component parts and functions so that you may visualize say for example all block elements, or the div order, there many many things you can do such as use a clever ruler to measure or to calulate for wireframing ( I have the ruler up, it is in the squared boxes and it resizes just like a window). You can disable just about anything on a live site from cookies to java and meta redirects, it's packed full of features that every web designer needs, (though I myself understand absolutely nothing of this java and meta technology); I have done a basic screen shot of just one of the 12 drop down menus so that you may see its interface. It can give you more information in 2 minutes than you could possibly get in half an hour of reading through the code. It is great for troublshooting, because you can isolate regions and pull them apart. All these things are done either with live sites, or on your own web creation. There are so many functions and to be honest, editing the code through this is but one very very small part of its purpose, it is indespesible as a learning tool. Trust me, download it and you will wonder what you have been missing al this time. It beats Safaris own web developer which, by the way, i read that many people had complained to apple mac that it was about time that they bring one in. But apple's developer is a toysRus for toddlers compared to the one that attaches to firefox. Hope this helps. Kind Regards
-
CSS/XHTML Resources
Hi Nicola, W3 is the most reliable and excellent as a reference. But if you are looking to understand the how the jigsaw pieces fit together with all the gears and piston mechanics then the following are a few that I follow: I know there are a lot here but you may find one that you particularly like. Also try "free e_books" and type in css. It is a bit tricky this website, but you do not have to pay premium member, you can get free books. http://www.htmldog.com/ http://www.webreference.com/authoring/style/sheets/layout/ http://csshtmltutorial.com/ http://www.maconstateit.net/Tutorials/XHTML/default.htm http://www.cssdesignpatterns.com/index.html http://www.maxdesign.com.au/presentation/process/index.htm http://css.maxdesign.com.au/ Success. Oh I almost forgot, get firefox and then get firebug, if you are completely confused about this just ask, but if you have heard of them they are indespensable for really visualising on an almost third dimensional level the inner workings of css in real time. It will save you hours of frustration but also can have the opposite effect if you are not careful. And then the web developer from chrispederick.com. Can not live without it, in fact I would say that all webdesigners either use it or have used it. regards, chris
-
This DIV refuses to overlay another DIV....
Hi Theo, have you solved it yet? Been looking at your site for about 10 minutes in firebug, I can see that the #header actually butts right up to the #top and is preventing the top from coming down (should explain at this point that it is invisible). But being a newbie myself I simply do not know yet how css works in harmony and that is the most complex thing about this. Please let me know if you solve it. then I can do some reverse engineering on your site and learn, Thankyou.
-
If someone helps I'll stay quiet for 4 weeks
Finally the Light has dawned. It was the Relative and Absolute positioning combinations that really messed me up. They have been made confusing by the Oh so many explanations that I have read about them until finally I saw a VISUAL representation of what these positions actually DO on a page. The z - index of 8 I don't get, I had put that to 2 during my trials. Anyway the point is not only does it work but the paragraphs in the container do not get moved as I type. Right, Thankyou, I appreciate your time and sorry for being a pain.
-
If someone helps I'll stay quiet for 4 weeks
I have downloaded three column templates, pulled apart some other basic websites but none of this has helped me to understand why this Olive Green box will not move 3/4 of the way to the right and touch the top of the containing webpage. As you can see I have moved the olive green box because it was messing with the txt on the left which I have taken away. I can see what is happening but can not understand the solution. Trying to get olive box three quarters to the right and touching top of web page, underneath the images but on top of everything else. New css and html follows and new webpage (slightly) </head> <body> <div id="container"> <div id="header"><h4>Black</h4></div> <div id="content"> <div class="offset">Beauty</div> <div id="horizontalfoto"> <a href="girl_1.html"><img class="fourphotos" src="girl_1.jpg" alt="image 1"/></a> <a href="girl_2.html"><img class="fourphotos" src="girl_2.jpg" alt="image 2"/></a> <a href="happy_dog.html"><img class="fourphotos" src="happy_dog.jpg" alt="image 3"/></a> <a href="grow_inlove.html"><img class="fourphotos" src="grow_inlove.jpg" alt="image 4"/></a> </div> </div> <div id="curtainbar"><p>hopefully this will now stay where I want it to stay<br>right aligned</p> </div> </div> </body> </html> body { font-family: verdana, helvetica; background-color: #000000; text-align: left; font-size: 13px; color: black; margin: 0; padding: 0; } p { padding: 1em; } #container { background-color: red; border: none; margin: 3em auto; text-align: left; width: 1000px; height: 650px; } #content { background-color: yellow; margin: 0; padding: 0; width: 1000px; height:; ; color: black; } #header { border: none; background-color: blue; height: 62px; } #header h4 { line-height: 1.3; margin: 0; padding-top: 40px; font-size: 1.5em; color: black; } #horizontalfoto { margin-top: 100px; height: 150px; width: 616px; border-style: none; float: right; z-index: ; } .fourphotos { float: right; width: 150px; height: 150px; } #curtainbar { padding: 0px; float: right; position: ; background-color: olive; height: 450px; width: 255px; z-index:; text-align: right; } .offset { margin-left: 50px; font-family: cursive, verdana, sans-serif; font-size: 2.5em; color: red; padding: ; margin: ; line-height: 75%; } If someone could please help me here I will refrain from bugging this forum for at least four weeks. I think I have bugged you too much. This explanation would help me to understand something that I can not see in any coding that I am looking at because I have been unable to find any web sites that have box continers in a sort of like arrangement. I did find however a website where sidebar was on the right inside a container yet BOTH THE CONTAINER AND SIDEBAR HAD A FLOAT OF LEFT The container was the WHOLE web page to mahe things worse????- is there any wonder a newbie would get confused? Thankyou,
-
A complete disaster then?
Well I suppose then I might as well delete the whole thing and begin from scratch. Following and basing my workflow and idea on this website: http://www.maxdesign.com.au/presentation/process/example10.htm (of course the danger behind these sort of websites is their almost over simplification of a very complex subject), I tried re-arranging the html stack but this makes things very bad. I have watched that div fly around the bloody screen like a football, altering its properties and the properties of the other div, but yeh, a newbie I suppose, just have to accept the limitations of my human brain on this one - back to the drawing board for the second time. It now gets too complicated and trying to correct this is a nightmare. So I think I will take a five column template - Oh did I say a five column? Mmm I have never seen one of those as a template to learn on or demonstrated, as i understand it authors don't really like to go above three columns? Well I will take three columns and see if I can advance beyond the stone age.
-
This is the website for the above question sorry
-
text moves olive green box up and down
I have analysed and edited and changes things by trying it out in Firebug on firefox. I have done all that I know to correct this but am now lost. At this point I need to say that the awful colour arrangement is purely so that I can visualise everything much better. THE PROBLEM that I am having is that when I type more text into the left hand side where it says:Strikes again etc the whole olive green box on the right moves all over the place. I have been able to see what is happening through firebug but am at a loss as to know what I am supposed to do. I don't know if I have a fundemental design code flaw, whether my html is in the wrong order, I have tried all sorts. The position is absolutely right RIGHT NOW, but if you ADD or take away text, the box moves. Here is the html and css and the web site so far. I have attached the website but yep, it's not showing???? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Blacksite</title> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link rel="stylesheet" type="text/css" href="firstpage.css"/> </head> <body> <div id="container"> <div id="header"><h4>Black</h4></div> <div id="content"> <div class="offset">Beauty <div id="horizontalfoto"> <a href="girl_1.html"><img class="fourphotos" src="girl_1.jpg" alt="image 1"/></a> <a href="girl_2.html"><img class="fourphotos" src="girl_2.jpg" alt="image 2"/></a> <a href="happy_dog.html"><img class="fourphotos" src="happy_dog.jpg" alt="image 3"/></a> <a href="grow_inlove.html"><img class="fourphotos" src="grow_inlove.jpg" alt="image 4"/></a> </div> </div><!===closed offset===> </div><!===closed content===> <!===this P still inside the container===><p>Strikes again , justified text and this will be positioned in such a way as to allow the reader to assertain in ooves upward and now it moves downward as more text is typed here???</p> <div id="curtainbar"><p>hopefully this will now stay where I want it to stay<br>right aligned</p></div><!===no z-index used, just the order of the xhtml, closed curtainbar===> <b></b> </body> </html> ================C S S========================= /* generic styles A note on relative positioning, hey, take this paragraph, and put it 10 pixels down and 10 pixels to the right of where it would normally be. Absolute is where When an element is absolutely positioned, it's positioned with respect to the element which contains it*/ body { font-family: verdana, helvetica; background-color: #000000; text-align: left; font-size: 13px; color: black; margin: 0; padding: 0; } p { margin: none; padding: 1em; font: ; } #container { position: ; background-color: red; border: 1px solid black; margin: 3em auto; text-align: left; width: 1000px; height: 650px; } #content { background-color: yellow; margin: 0; padding: 0; width: 1000px; height: 50px; color: black; } #header { border: none; background-color: blue; height: 62px; } #header h4 { line-height: 1.3; margin: 0; padding-top: 40px; font-size: 1.5em; color: black; } #horizontalfoto { margin-top: 100px; height: 150px; width: 616px; border-style: none; float: right; z-index: ; } .fourphotos { float: right; width: 150px; height: 150px; } #curtainbar { padding: ; float: ; position: static; margin: -228px 0px 100px 665px; background-color: olive; height: 450px; width: 255px; z-index: ; text-align: right; } .offset { margin-left: 50px; font-family: cursive, verdana, sans-serif; font-size: 2.5em; color: red; padding: ; margin: ; line-height: 75%; } ================================
-
When I'm an expert at this........
When I'm experienced at this I am going to write a book targeting people like me. The learning experience is unpleasant because no one has bothered writing a book for the beginner, yes yes I know there are lots of books out there but none really tackles the problem of how we learn visually from a code point of view and no one seems to have taken in to account that none of us learn properly by reading code in a grammatically arranged structure. It has to be interactive, visual and variant and it really pees me off. For example: I know out of the back of my head upside down what a P does. I know what a Div box (container for the purist) does. I know exactly what belongs in a div box and what belongs in a P box yes yes I know it's a paragraph element!. But when I write the book on CSS I will explain creatively to my students how exactly the P box and the Div box with your coloured background screw each other up when you assign padding to the little text in the P which is inside the Pretty coloured Div box and how after one hour I can not work out why. It seems after 6 weeks of intensive studying that learning Values are meaningless without learning how they work together. And this is not the first time I come accross this. I'm started 6 weeks ago and so therefore have some legitamacy (because of my inexperience) to say that learning three column layouts and two column layouts ACTUALLY work agianst you. This is a fallacy to say that this is the most popular way to design, it's not even helpful becasue it is TOO basic. Interaction Interaction interaction, that is what is missing on the web sites, the beginners' books and the tutorials. A jigsaw piece is meaningless outside the picture. Yes - I'm blowing off steam because my website gets all altered when I edit something really small.
-
IE is losing ground! It should it's crap
MIcrosoft -THE MACDONALDS OF THE FOOD INDUSTRY - It' very operating system is built on FAULTY foundations which most of the public do not know, this is why it has ALWAYS had security problems inEVERYTHING. Because unlike linux and unix where each component part is independant, microsoft HAVE TO LIVE WITH an operating system that they can not correct BECAUSE each component part is interdependent on the other one. THE ROOT of ALL its problems since the first day it was conceived. Oh and why I'm on the topic of insulting microsoft let us not forget that it was APPLE that invented and designed the WINDOWS which microsoft now defile. Apple mac should be the boss!