最后三个问题(du jour) [英] Last three problems (du jour)

查看:60
本文介绍了最后三个问题(du jour)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尽可能地使用CSS设计而且我非常高兴!我有两个持续存在的问题,并且在各种搜索中都没有找到答案,所以我回来了,戴着帽子。


首先,我有一个带有a和a属性的#bottommenulink:悬停与#bottommenu中的常规文本属性相同,但文本大小,字体变量,颜色和文本装饰(用于悬停)除外。所有边距和对齐方式都相同但是这一小块菜单拒绝以页面为中心。最初,它只是一个div,但我认为链接部分有一个单独的div会有所帮助。它没有。


接下来是div之间的差距。我不知道如何填充它们,因此在布局中有漂亮的条纹。


最后,但可能并非最不重要,我需要布局保持静止,无论浏览器窗口大小。事实上,我的横幅图像保持不变 - 其他一切都压缩,最终看起来有点......奇怪,至少可以说。


也许我非常喜欢CSS,因为它'就像一个难题要解决!比摔跤桌更有趣!!!

Kathy

I have gotten as far as I can with the CSS only design and I am absolutely delighted! I have two persistent problems and haven''t found answers in various searches so I am back, hat in hand.

First, I have a #bottommenulink with attributes for a and a:hover that are identical to the general text attributes in #bottommenu except for text-size, font-variant, color and text-decoration (for hover). All margins and alignments are the same BUT this little chunk of menu refuses to center on the page. Initially, it was all one div but I thought having a separate div for the link part would help. It didn''t.

Next are the gaps between the divs. I am at a loss how to fill them in so there are nifty stripes running through the layout.

And last, but probably not least, I need the layout to remain static regardless of the browser window size. As it is, my banner image stays put - everything else compresses which ends up looking kind of... odd, to say the least.

Maybe I like CSS so much because it''s like a puzzle to solve! Much more fun than wrestling tables!!!

Kathy

推荐答案

有链接吗?否则,我会把整个代码粘贴在这里。
Got link? Otherwise I''d neat the complete code pasted here.


很高兴看到对CSS的转变,几年前我就采取了行动。


我有1个提示给你,我不知道你使用哪个broswer设计但是如果碰巧是Firefox那么你就得到了DOM Inspector(你可以在Opera和Moz以及Netscape中得到它)据我所知)。


它可以在工具菜单中找到,基本上它显示左侧(树形)和右侧所有HTML元素的列表手边显示各种事物,包括(有用地)应用于元素的样式规则以及元素的全部计算样式(即将适用的样式规则添加到默认值的结果)。


当您在树中选择元素时,它还会轻松地在元素周围闪烁一个红色框。
It''s good to see aconvert to CSS, I made the move a couple of years ago.

I have 1 tip for you, I don''t know which broswer you use for designing but if it happened to be Firefox then you get the DOM Inspector (you may get this in Opera and Moz and Netscape to for all I know).

It is available off the tools menu and basically it displays a list of all the HTML elements on the left hand side (in tree form) and on the right hand side it displays various things which include (usefully) the style rules being applied to the element and the over all computed style (that is the results of adding the applicable style rules to the defaults) for the element.

It also handily flashes a red box round the element as you select it in the tree.


我使用FireFox浏览器并检入IE。我也有Safari可用,但我从未见过Opera!我想我也应该努力研究那个!


我在DOM检查员上按了按钮但是我不知道我看到了什么。我将再次尝试使用这些额外信息。


并且忘记链接而道歉!我认为他们非常努力,并认为你会通过心灵感应来感受它们。


这是我的故事,我坚持下去了!

http://www.purplefriends.com/fso

< a rel =nofollowhref =http://www.purplefriends.com/fso/Templates/fso_dhtml.csstarget =_ blank> http://www.purplefriends.com/fso/Tem.../ fso_dhtml.css


我真的很高兴我找到了这个网站。你鼓励我勇往直前,我迫不及待地想学习和做更多的事情!


凯西
I use FireFox for my browser and check in IE. I also have Safari available but I have never even seen Opera! I suppose I ought to make an effort to work on that one, too!

I did poke the button on the DOM inspector but I had no idea what I was seeing. I''ll try again with that extra information.

And apologies for forgetting the links! I thought them very hard and figured you would sense them telepathically.

That''s my story and I''m sticking to it!

http://www.purplefriends.com/fso

http://www.purplefriends.com/fso/Tem.../fso_dhtml.css

I really am glad that I found this site. You have given me courage to jump in headfirst and I can''t wait to learn and do more!

Kathy


这篇关于最后三个问题(du jour)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆