I just added a "Testimonial Letters" page for our band's web site. On
a whim, I decided to try using a drop cap to start each paragraph.
I looked up how to do it on someone's web site. His example looked
good, but had a lot of "pixel sized" elements. I'm no expert, but I
don't like when pages go haywire on different browsers, or with
different text sizes.
So I blundered around changing the stylesheet parameters. Here's what
I came up with:
..cap {
float: left;
width: 1.5ex;
font-size: 395%;
line-height: 1.6ex;
font-weight: normal;
color:#D70000;
font-family: serif;
font-style : normal;
background-image : url(bkgnd_noise.jpg);
padding : 2px 2px 2px 2px;
text-align : center;
border : 1px solid Yellow;
margin-right : 2px;
}
I tried out the page on IE and Opera, and at various text sizes. Seems
reasonable. Does anyone see anything really unacceptable?
Greg Guarino 10 2580
Oops. Some of you might find the URL helpful: www.risky-biz.com/testimonials.html
On Mon, 05 Jul 2004 02:40:24 GMT, Greg G <gd*******@verizon.net>
wrote: I just added a "Testimonial Letters" page for our band's web site. On a whim, I decided to try using a drop cap to start each paragraph.
I looked up how to do it on someone's web site. His example looked good, but had a lot of "pixel sized" elements. I'm no expert, but I don't like when pages go haywire on different browsers, or with different text sizes.
So I blundered around changing the stylesheet parameters. Here's what I came up with:
.cap { float: left; width: 1.5ex; font-size: 395%; line-height: 1.6ex; font-weight: normal; color:#D70000; font-family: serif; font-style : normal; background-image : url(bkgnd_noise.jpg); padding : 2px 2px 2px 2px; text-align : center; border : 1px solid Yellow; margin-right : 2px; }
I tried out the page on IE and Opera, and at various text sizes. Seems reasonable. Does anyone see anything really unacceptable?
Greg Guarino
On Mon, 05 Jul 2004 02:46:38 GMT, Greg G <gd*******@verizon.net> wrote: Oops. Some of you might find the URL helpful:
www.risky-biz.com/testimonials.html
On Mon, 05 Jul 2004 02:40:24 GMT, Greg G <gd*******@verizon.net> wrote:
I just added a "Testimonial Letters" page for our band's web site. On a whim, I decided to try using a drop cap to start each paragraph.
I looked up how to do it on someone's web site. His example looked good, but had a lot of "pixel sized" elements. I'm no expert, but I don't like when pages go haywire on different browsers, or with different text sizes.
So I blundered around changing the stylesheet parameters. Here's what I came up with:
.cap { float: left; width: 1.5ex; font-size: 395%; line-height: 1.6ex; font-weight: normal; color:#D70000; font-family: serif; font-style : normal; background-image : url(bkgnd_noise.jpg); padding : 2px 2px 2px 2px; text-align : center; border : 1px solid Yellow; margin-right : 2px; }
I tried out the page on IE and Opera, and at various text sizes. Seems reasonable. Does anyone see anything really unacceptable?
Greg Guarino
A couple quick comments.
1) No need to class the span. The div it's always a child of has a class.
That'll save some bytes in your code.
..testimonial3 span {}
2) Be certain your width will acommodate whatever width character you need
in there in whatever serif font the page happens to render in. Some might
have a wider W, say, than yours.
"Greg G" <gd*******@verizon.net> wrote in
comp.infosystems. www.authoring.stylesheets:Oops. Some of you might find the URL helpful:
www.risky-biz.com/testimonials.html
They look okay in Mozilla 1.4 on Windows 98.
(I liked them better at first, before the speckled yellowish
background filled in behind the drop cap.)
The boxes all seem to be about one pixel bigger than three lines, so
there's an uncomfortably large amount of space under them, almost a
full line visually. But again, that's an aesthetic judgment, so
maybe it's what you were going for,
--
Stan Brown, Oak Road Systems, Cortland County, New York, USA http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Greg G wrote: I just added a "Testimonial Letters" page for our band's web site. On a whim, I decided to try using a drop cap to start each paragraph.
I looked up how to do it on someone's web site. His example looked good, but had a lot of "pixel sized" elements. I'm no expert, but I don't like when pages go haywire on different browsers, or with different text sizes.
So I blundered around changing the stylesheet parameters. Here's what I came up with:
.cap { float: left; width: 1.5ex; font-size: 395%; line-height: 1.6ex; font-weight: normal; color:#D70000; font-family: serif; font-style : normal; background-image : url(bkgnd_noise.jpg); padding : 2px 2px 2px 2px; text-align : center; border : 1px solid Yellow; margin-right : 2px; }
I tried out the page on IE and Opera, and at various text sizes. Seems reasonable. Does anyone see anything really unacceptable?
Greg Guarino
You probably can reduce these 13 declarations to just a few by using
first-letter pseudo-class. You misunderstand how style info is inherited.
DU
DU <dr*******@hotWIPETHISmail.com> writes: Greg G wrote:
You probably can reduce these 13 declarations to just a few by using first-letter pseudo-class. You misunderstand how style info is inherited.
Since you brought this up, I have a drop cap that works nicely on
galeon/mozilla, but not IE:
#intro:first-letter {
margin-top: -0.1em;
margin-right: 0.2em;
margin-bottom: -0.2em;
float: left;
display: block;
color: #CC0000;
font-weight: bolder;
font-size: 200%;
}
<div id="intro">
Documents. . .
With IE, the "D" of "Documents" appears as a normal character.
--
Haines Brown
Greg G <gd*******@verizon.net> schrieb: }
I tried out the page on IE and Opera, and at various text sizes. Seems reasonable. Does anyone see anything really unacceptable?
Greg Guarino
Looks good on various font-sizes with Firefox 0.9.1, IE 6 on WinXP
Prof.
Btw, does anyone know how to fix fontsizes for a navigation bar?
usually i would let the user decide about the fontsize, but in this
case a fixed size would be useful..
--
kind regards,
tomasio
"describing an issue reveals the way to solve it"
On Mon, 05 Jul 2004 05:00:15 -0400, DU <dr*******@hotWIPETHISmail.com>
wrote: Greg G wrote:
I just added a "Testimonial Letters" page for our band's web site. On a whim, I decided to try using a drop cap to start each paragraph.
I looked up how to do it on someone's web site. His example looked good, but had a lot of "pixel sized" elements. I'm no expert, but I don't like when pages go haywire on different browsers, or with different text sizes.
So I blundered around changing the stylesheet parameters. Here's what I came up with:
.cap { float: left; width: 1.5ex; font-size: 395%; line-height: 1.6ex; font-weight: normal; color:#D70000; font-family: serif; font-style : normal; background-image : url(bkgnd_noise.jpg); padding : 2px 2px 2px 2px; text-align : center; border : 1px solid Yellow; margin-right : 2px; }
I tried out the page on IE and Opera, and at various text sizes. Seems reasonable. Does anyone see anything really unacceptable?
Greg Guarino
You probably can reduce these 13 declarations to just a few by using first-letter pseudo-class. You misunderstand how style info is inherited.
DU
That's where you are wrong :)
In order to MISunderstand something, you first have to think you KNOW
something about it. I don't understand anything useful about style
inheritance, except to know that it exists.
I have a hazy familiarity with the idea that other constructs within a
div or paragraph "inherit" the parameters of the "parent" structure,
but I'm a busy guy and I've been putting off learning it. I did the
whole site with only a css web tutorial under my belt and didn't know
about the inheritance concept at all until recently.
As for the first-letter pseudo class, I tried that and it didn't work,
at least in IE. This could easily be my own incompetence, but I think
I may have heard a rumor that it is not universally supported.
Greg
On Mon, 5 Jul 2004 02:29:59 -0400, Stan Brown
<th************@fastmail.fm> wrote: "Greg G" <gd*******@verizon.net> wrote in comp.infosystems.www.authoring.stylesheets:Oops. Some of you might find the URL helpful:
www.risky-biz.com/testimonials.html They look okay in Mozilla 1.4 on Windows 98.
(I liked them better at first, before the speckled yellowish background filled in behind the drop cap.)
I'm not sure I'll even keep that. I was just curious to see if I could
do it. The yellow noise image was just something I had around.
The boxes all seem to be about one pixel bigger than three lines, so there's an uncomfortably large amount of space under them, almost a full line visually. But again, that's an aesthetic judgment, so maybe it's what you were going for,
I'm still working on it. I wanted to see if I had made a gross
usability error before spent any more time tweaking it. Thanks for the
help.
Greg
Haines Brown wrote: DU <dr*******@hotWIPETHISmail.com> writes:
Greg G wrote:
You probably can reduce these 13 declarations to just a few by using first-letter pseudo-class. You misunderstand how style info is inherited.
Since you brought this up, I have a drop cap that works nicely on galeon/mozilla, but not IE:
#intro:first-letter { margin-top: -0.1em; margin-right: 0.2em; margin-bottom: -0.2em; float: left; display: block; color: #CC0000; font-weight: bolder; font-size: 200%; }
Why float: left? Why display: block? <div id="intro"> Documents. . .
With IE, the "D" of "Documents" appears as a normal character.
It's going to be difficult to agree with you without any url.
DU
DU <dr*******@hotWIPETHISmail.com> writes: Haines Brown wrote: DU <dr*******@hotWIPETHISmail.com> writes: ... Since you brought this up, I have a drop cap that works nicely on galeon/mozilla, but not IE: #intro:first-letter { margin-top: -0.1em; margin-right: 0.2em; margin-bottom: -0.2em; float: left; display: block; color: #CC0000; font-weight: bolder; font-size: 200%; }
Why float: left? Why display: block?
Without the float, the cap does not drop in galeon and Mozilla. I
don't recall why I felt it necessary to display as a block, but it
seems to do no harm (galeon) or any good (IE). At one point, without
it, only the "D" was displayed, and all text thereafter disappeared,
but I suspecect that was fluke. <div id="intro"> Documents. . . With IE, the "D" of "Documents" appears as a normal character.
Here's the URL of the document: http://www.hartford-hwp.com/archives/index.html
Thanks for your interest.
--
Haines Brown This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Steve |
last post by:
I seem to be having a bit of difficulty with a javascript drop down
menu.
The line variable,
var TargetLoc='ddmenu'; ,does not work in Netscape version 4?
If I take out 'ddmenu' and just...
|
by: Haines Brown |
last post by:
I have a drop cap that works nicely on galeon/mozilla, but not IE:
#intro:first-letter {
margin-top: -0.1em;
margin-right: 0.2em;
margin-bottom: -0.2em;
float: left;
color: #CC0000;...
|
by: Haines Brown |
last post by:
I'll try this question again: I have a drop cap that works fine under
galeon, mozila, opera, but does not show up under IE.
#intro:first-letter {
margin-top: -0.1em;
margin-right: 0.2em;...
|
by: WindAndWaves |
last post by:
Hi everyone,
Has anyone got any experience with drop and drag in Access?
I would like to make a calendar style form where my users can drop and drag
appointments....
I am using Access 2003...
|
by: ViRi |
last post by:
I am wringing a small and lite Media Player to fit my custom needs for
usage while programming.
I had written some drag and drop functionality like i do with other
programs, but hey, the ActiveX...
| |
by: pepsi_cola40 |
last post by:
Hello,
I have versified text in a table, where each table row contains a
verse. Like :
Verse 1
Verse 2
Verse 3
Verse 4
|
by: marty |
last post by:
I think I know how to use CSS to wrap text around boxes and to create drop caps. But when I try to do both on the same page, the drop caps drop down into a subsequent paragraph.
The code is too...
|
by: weiwei |
last post by:
Hi
here is my scenario, I create a drop down list in itemtemplate.(that
drop down is created from db), after user
click edit command, my ideal plan is have another drop down list in...
|
by: Alice |
last post by:
Anyone knows how to convert .CAP files to .TXT files ?
because Access doesn't read .CAP files, so in order to import it, i'd
have to manually open all the .CAP files and "save as" filename.txt...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |