FireBrick Custom CSS: Difference between revisions
Appearance
Content deleted Content added
m →Testing - warning: link added |
|||
| Line 65: | Line 65: | ||
</syntaxhighlight> |
</syntaxhighlight> |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | '''Note:''' The above brief example is known to currently produce certain '''defects''' in the webpages’ layout: The vertical layout of the text within the footer is slightly off. More seriously, this change has made the whole layout of the ‘Graphs’ page quite a mess, so further work to remedy this is needed. |
||
| ⚫ | To ''increase'' the text size, this example would require a rewrite and lots of testing trial and error. Unfortunately changing text sizes can have a lot of nasty knock-on effects on layout, which cascade out of control in ways that are hard to predict. Hacks such as the above are likely to fall apart if the base CSS changes or if other aspects of the design cause the layout to change. This is in part because this is an override on parts of the base CSS, |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | To ''increase'' the text size, this example would require a rewrite and lots of testing trial and error. Unfortunately changing text sizes can have a lot of nasty knock-on effects on layout, which cascade out of control in ways that are hard to predict. Hacks such as the above are likely to fall apart if the base CSS changes or if other aspects of the design cause the layout to change. This is in part because this is an override on parts of the base CSS, effectively a patch, and the user CSS has intimate dependencies on the precise base CSS content. Also there are dependencies between the (X)HTML and the CSS, so changes to the pages’ content or structure can possibly cause problems. |
||
| ⚫ | |||
=== CSS debugging tips === |
=== CSS debugging tips === |
||