Tyssen
Members-
Content Count
1,159 -
Joined
-
Last visited
Everything posted by Tyssen
-
This article might help you.
-
8-bit PNGs behave exactly the same way as GIFs in that they use binary rather than alpha transparency which means you can knock out the background colour and that colour will show through the bits you've made transparent on your page. 24-bit PNGs use alpha transparency which means that it can have varying degrees of transparency and this is the kinda that IE doesn't support.
-
But before reading the above link, probably best to read this one.
-
I found this on another forum: foreach($_POST as $key => $data) { if($key != 'required') { if($data !='') { $message .= $key.": ".$data ."\n"; } }}That works fine except that my output looks like this: Name: My Name Nameinitvalue: Name Positioninitvalue: Position Addressinitvalue: Address Phone: 5555555555 Phoneinitvalue: Phone Faxinitvalue: Fax Email: myemail@email.com Emailinitvalue: Email Home_workinitvalue: Work Comments: Test Commentsinitvalue: Comments The ones in italics are the actual fields that were filled in so all the others shouldn't be there (ie the ones with initvalue in the field name). Anyone got any idea where they're coming from?
-
Here's an article on how to serve up different mime types using PHP: http://www.workingwith.me.uk/articles/scripting/mimetypes
-
IE treats width & height as min-width and min-height. Using child selectors which IE doesn't understand, you can feed it and other browsers different rules, e.g.: body { width: 700px;}html>body { width: auto; min-width: 700px;}Max values are a bit trickier. Here's an article that explains on how to do it: http://forums.xisto.com/no_longer_exists/
-
XHTML 1.1 has to be served as type application/xhtml+xml as it is ure XML. However, IE doesn't accept pages served as that; it only accepts pages served as text/html, so it is recommended not to use XHTML 1.1 and use 1.0 instead if you're planning on serving pages to IE browsers (either that or use a detection script which serves up a different mime type depending on browser).
-
In ASP you'd do this: For Each Field in Request.FormSo how do you do it in PHP? I want to loop through a form, check to see if it has a value and if so, append to a string to send as the body of my email.
-
Amezis, jlhaslip: you two obviously don't have the FF Web Developer extension installed.
-
Standard Compliant Cms XHTML, CSS, etc
Tyssen replied to Lozbo's topic in Websites and Web Designing
Textpattern, Typepad (Movable Type) & QneCMS are the only other ones I know of. -
That's all very well, but people still need speed test tools so they can know how any changes they are making are affecting download times.
-
Nobody said it wasn't. In my first post I said to write your CSS more concisely, i.e. shorter, less file size, better.jhaslip said: Again, he's referring back to my post about shortening your CSS.The example you gave, while not incorrect from a standards perspective, is incorrect from an understanding of how CSS works. Cascading Style Sheets are so called cos the styles cascade down from the top which means that you can set styles on a parent element and all elements contained within will inherit those styles. You only need to specify styles when you want something to be different from its inherited style; you don't need to repeat all the values for each element. Anchor tags are a common one that newcomers to CSS get wrong: they think they have to specify the text-decoration, font-size, colour etc. for all states when really, in most cases, all those styles can be set on the a tag and only a colour change is needed on the hover, visited etc.
-
You don't have to specify all of them but the ones that you do use must be in that order. When specifying font size/line height combinations, you separate them with / e.g. 18px/24px or 83%/140%.
-
font: font-style | font-variant | font-weight | font-size | line-height | font-family
-
Just Beginning To Do Graphics And on a slow (old) machine
Tyssen replied to jlhaslip's topic in Graphics, Design & Animation
PS can be a bit of a resource hog, especially newer versions, so I'm guessing that's why jlhaslip asked for other recommendations. If it's only for web graphics, my pick would be Fireworks too. -
In Australia we did away with our one & two cent coins - lowest is five cents now so everything gets rounded up or down when you pay with cash - but the saying still has the same meaning here.
-
Journalism Project Website www.smokingband.now.nu
Tyssen replied to dodgerblue's topic in Business Forum
Is SmokingBand supposed to be a play on words and if so, in what way, or did you just misspell it? -
Yeah but Opera scales the whole page as one. The reason given for needing to restrict a certain portion of the layout was cos it breaks something else. If an image was used, Opera would scale it relative to everything else and so would maintain the page's overall layout.
-
Or you could just set a background image for whatever element contains your text, e.g.: h3#yourText { background: url(yourimage.jpg) top left no-repeat; }
-
They still promote the use of DOM scripts because HTML/XHTML is for document structure, CSS is for style or presentation, and DOM is for behavior.
-
I'd say work on your current one first. There's nothing there but a login box so I woulda thought you'd want to finish one off before moving onto the next.
-
The Worst Thing On The Internet?
Tyssen replied to thebluekirby's topic in Websites and Web Designing
What's a ship-basher? -
It's only IE that doesn't allow text size resizing if you use pixels. If it absolutely has to be a certain size (even though I can't think of any situation where that would have to be the case), then images is your only option.
-
Several Cms@same Server is it posible?
Tyssen replied to Lozbo's topic in Websites and Web Designing
Can you rename the CMS folder to whatever you want it to be (e.g. instead of joomla, have news, instead of wordpress, have personal and so on) or do the CMSes always look for a particular named folder?