I can do that if they're in a cell, but they're not. With CSS, I can center horizontally.
Can I have text with is to the left of a textarea, and have the text vertically centered with respect to the textarea?
User Profile
Collapse
-
vertically center text next to textarea
-
thanks, that approach makes perfect sense. But I suppose that's why it doesn't work in IE7, either.
Oh, how much better the world of software would have been if Bill Gates had never been born. -
selector for textfield?
since it's not an element but an attribute, how do I write a style for all textfields that are in a listitem in an unordered list?
ul li input ?? {
} -
some button that won't print
can I put a button (or link) that can be used to control navigation, but won't turn up on the page when it's printed? -
position: fixed;
I like that effect. Am I correct in thinking that it is not seen much only because IE didn't implement it?
This page works well in IE7:
http://www.positivessl .com/ssl-certificate-products/ssl/ssl-certificate-positivessl.htm l
Next I did try eWish's suggestion of browsershots.or g, but evaluation of that particular page really depends on movement, not just a static view. Still, it looks like the company logo when... -
speaking of footer...
to have space between my footer and whatever body content is above it, I'd think that using margin-top would be the best practice, yes?
or padding?
Does it matter if the bkg is all white?
in the past, I'd have used <p> or <br>, I suppose that's outmoded -
I suppose my thinking is that the footer will never change. Knock on wood, right? :)
Also, I'd think that I get carried away with being minimalistic, since my background was as an assembler programmer... so I see inline styles as one less network GET. Maybe I should break that habit of thinking. :)
And yes, you're right that any include is opaque to the browser and the network, which only sees the output htmlLeave a comment:
-
thanks to both for you for the heads-up
I went ahead and made all styles inline to avoid any unforeseen problemsLeave a comment:
-
view in IE6
Another post here today made me wonder: how would I check out my pages using IE6? AFAIK when I installed IE7, then IE6 was uninstalled. -
<style> in body?
I have a footer in a separate file that gets included via PHP, and that has its own styles.
That means the footer's <style> is declared in the body, rather than as an element in <head>. Is there any problem with doing it that way?
My aim is simply to include "footer.php " and have it all turn out okay, without messing with anywhere else.
The HTML that is output by PHP is below:... -
array of textfields
I'm using an array to submit textfields. Something like:
<input name="tf[]">...
<input name="tf[]">...
<input name="tf[]">...
so that I can iterate through the answers easily. I just want to be cautious and ask if there are there any pitfalls to doing that? It seems to work fine. Though I never knew before that you could do so, outside of a series of checkboxes.... -
okay, thanks for conveying the concept of absolute positioning
I would have to fine tune the location by pixels, to matchLeave a comment:
-
Thanks, David. Unfortunately, that similarly drops down the right-floated item (in IE7 and FF2).
I guess I'll have to live with it... or use a table.Leave a comment:
-
I guess it's better to post the HTML output rather than just the PHP source:
Code:<p> <div id="navbar"> <a href="edit_reg.php">edit</a> <a href="undelete.php">undelete</a> <a href="print_reg.php">print</a> <a href="rep_sum.php">summary</a>
Leave a comment:
-
span to float right within a div
I have a navbar in a div, with several links. The last one is in a <span> because I want it to float to the right by itself. The span does float right, but it shows up below the navbar div. I want it within the div.
Is this doable? Thanks.
Code:<?php echo "<p>"; echo '<div id="navbar"> <a href="edit_reg.php">edit</a>
-
Hi. The attack on your machine probably came from somebody else's hacked zombie machine.Leave a comment:
-
Thanks. I've created a minimal test case. The text inside the box is colored, but not the legend, in IE7. The correct weight and size and family do display correctly, though. FF shows it all okay.
Code:/* Generated by KompoZer */ fieldset { color: #336699; font-family: arial,verdana,sans-serif; font-size: 10pt; font-weight: bold; }
Code:<!DOCTYPE html PUBLIC
Leave a comment:
-
keep two buttons in line
I have two buttons in a single table cell. IE7 shows them side by side, which is what I want. But FF2 shows them stacked one on top of the other.
What CCS (or other means) can I use to force them side by side in FF? Thanks. -
fieldset legend in IE stays black
if FF everything looks fine, but in IE7 the text color is black.
Code:fieldset { color: #336699; font-family: arial,verdana,sans-serif; font-size: 10pt; font-weight: bold; }
-
editing a MySQL row
I have contact info (name, address, phone) in a MySQL table. I read the rows with PHP and present the rows in an HTML table. What's the best way of allowing editing of any row?
What I'm doing so far is to display each cell in an HTML textfield. I put an edit button and a delete button at the start of every row. Each row is within <form> tags. That way, the contents of each textfield will be submitted and can be used to update...
No activity results to display
Show More
Leave a comment: